javascript functions are objects?

后端 未结 8 2104
太阳男子
太阳男子 2020-12-14 23:10

I am struggling with a Javascript question for some time now and I was not able to find an explanation on the web. I guess it is because I do not enter the right keywords wh

8条回答
  •  时光取名叫无心
    2020-12-14 23:41

    It's best to forget completely about the traditional OO concept of "objects" in Javascript-land, and to think instead in terms of closures. I strongly recommend reading this tutorial by John Resig, the creator of jQuery.

提交回复
热议问题