JavaScript ES6 - Classes

preview_player
Показать описание
This video gives a high level overview of JavaScript classes in ES6. It shows constructors, inheritance, static methods and more!
Рекомендации по теме
Комментарии
Автор

I'm surprised you didn't make use of Template Literals that you just introduced in the previous video :P

Gigusx
Автор

yo whats that zsh theme? :) awesome vid btw

xrokka
Автор

So, what is the point of getters and setters if we can just use regular methods for the same purpose?

GoeHybrid
Автор

So at its core it works like a function, but with some neat features?

ashleysaleem-west
Автор

Is there concept of public/private methods/variables in Javascript?

TT-udgf
Автор

Your getter would work if you named age "this._age" in the constructor and returned "this._age" in the getter.

victorvillacis
Автор

When we write the methods inside the class why dont we use the function keyword

joshiprabhas
Автор

a js function always hoists, contrary to classes.

JoseBarakat
welcome to shbcf.ru