+ 1

Js functions

Hey all, Why does js allow you to call a function again while it's still running whats its purpose? I'm trying to find a nice way to use ontouchstart on a function that only calls it once until its finished without using timers... I have done it before but the code seems over complicated for somthing simple 🤔 Thank you

29th Sep 2019, 9:02 PM
D_Stark
D_Stark - avatar
1 ответ
29th Sep 2019, 9:25 PM
Michael
Michael - avatar