Why callback function gets called even though I never invoked?

后端 未结 0 504
难免孤独
难免孤独 2021-01-12 09:06

I wonder why this simple callback function (setTimout) gets called even though I didn\'t invoke but just assigned it.

In this code, I assinged setTimeout function to

相关标签:
回答
  • 消灭零回复
提交回复
热议问题