In this video I go over creating a class in JavaScript. Classes give us a convenient syntax to define state and behavior of objects. To create a class....you write "class" keyword followed by the name of the class. The class body then follows.
The class body can only contain method definitions.
You initialize your object's properties inside the constructor.
The constructor is a special method that is called automatically (when craeting an instance of the object) so that we don't forget to initialize our object.
To use the class you have to use the new keyword
var a = new classname();
En esta página del sitio puede ver el video en línea JavaScript Tutorial - Classes de Duración hora minuto segunda en buena calidad , que subió el usuario Struct Feed 06 octubre 2017, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 380 veces y le gustó 7 a los espectadores. Disfruta viendo!