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

前端 未结 7 1045
故里飘歌
故里飘歌 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:49

    Javascript supports objects but not classes - it uses a prototype-based object system.

提交回复
热议问题