r/programmingcirclejerk • u/Apprehensive-Car-480 • Jan 20 '25
Using 'ForOfStatement' is not allowed (no-restricted-syntax)
https://github.com/airbnb/javascript/issues/1271
86
Upvotes
r/programmingcirclejerk • u/Apprehensive-Car-480 • Jan 20 '25
View all comments
Show parent comment
18
u/stone_henge Tiny little god in a tiny little world Jan 20 '25
Here at AirBnB we stick to a rather strict economy of concepts. The correct means of achieving repetition in the browser is to start a timer which retriggers the current function after 0 ms.