00:06 "Classes" in JavaScript
01:09 Prototypes
02:24 Class syntax as sugar
03:25 Constructor functions, props & methods (ES5)
08:11 Class alternative (ES6)
10:22 Getters & setters in ES5
14:17 Same methods in ES6
16:27 Inheritance in ES5
19:41 Sub-classing in ES6 (with 'extends')
21:40 Static methods with ES5
22:38 Static keyword in ES6
23:28 Classes are special functions
24:45 No static properties in ES6
26:17 Classes are not callable
28:45 Class declarations vs expressions
29:35 Recap
This one's going to be quite lengthy, but bear with me! We're going to take a deep dive into classes by contrasting the older functional approach from ES5 and the latest class-based form in ES6. Properties, getters, setters, static methods, as well as prototypes and inheritance - you'll get to know them all in this one video! Not to mention a few caveats with regards to the new syntax.
More on classes at Mozilla web docs https://developer.mozilla.org/en-US/d...
Prototype and Inheritance in ES6 https://hackernoon.com/understanding-...
Want a rock-solid understanding of prototypes? Here's a good read with examples from ES5 http://yehudakatz.com/2011/08/12/unde...
Смотрите видео ES6 Tutorial - #4 Classes онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Code Realm 13 Декабрь 2017, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,40 раз и оно понравилось 7 людям.