Intro to JavaScript Classes

Intro to JavaScript Classes

Steve Griffith - Prof3ssorSt3v3

55 лет назад

26,854 Просмотров

One of the new features in ES6 is the addition of the `class` keyword.
To be clear, CLASSES DO NOT REALLY EXIST in JavaScript. All the Class functionality is still just a syntactic wrapper around Objects and the JavaScript Prototype chain.
However, that doesn't mean you can't use them to write your code.

Code GIST: https://gist.github.com/prof3ssorSt3v3/7feba342829c302d23bf9186a2682c55

Updated video about new Class features in 2021 - https://www.youtube.com/watch?v=tqBP5ZX8F0c

Тэги:

#MAD9022 #web_development #JavaScript #JS #HTML #JavaScript_tutorial #ES6 #Classes_in_JS #Classes_are_syntactic_sugar #ES2015 #class_keyword #static_keyword #extends_keyword #super_keyword
Ссылки и html тэги не поддерживаются


Комментарии: