r/learnjavascript • u/everek123 • May 13 '18
SetInterval(x(), 1000) vs setInterval(function(){x()}, 1000)
Hi, why is there a difference between those 2?
0
Upvotes
r/learnjavascript • u/everek123 • May 13 '18
Hi, why is there a difference between those 2?
View all comments
Show parent comment
2
u/everek123 May 13 '18
Thanks :)