oop - JavaScript: Class.method vs. Class.prototype.method

preview_player
Показать описание
#short
#javascript
#oop
#prototype-programming
What is the difference between the following two declarations?

Is it okay to think of the first statement as a declaration of a static method, and the second statement as a declaration of an instance method?
Рекомендации по теме
join shbcf.ru