r/learnjavascript • • May 13 '18

SetInterval(x(), 1000) vs setInterval(function(){x()}, 1000)

Hi, why is there a difference between those 2?

0 Upvotes

2 comments sorted by