Does jQuery or JavaScript have the concept of classes and objects?

前端 未结 7 1038
故里飘歌
故里飘歌 2021-01-30 00:28

I found the following code somewhere, but I am not understanding the code properly.

ArticleVote.submitVote(\'no\');return false;

Is Arti

7条回答
  •  北海茫月
    2021-01-30 00:51

    Yes, JavaScript has impressive support for Object Oriented programming, Objects and functions. In fact, I'm surprised that you have to ask this question! There are a wealth of resources online such as:

    http://mckoss.com/jscript/object.htm

    http://www.webreference.com/js/column79/

    http://www.javascriptkit.com/javatutors/oopjs.shtml

    More resources: http://www.google.com/search?q=object+oriented+programming+javascript

    JavaScript frameworks such as jQuery and Prototype could not have been built without this support in JavaScript engines.

提交回复
热议问题