A quick look at JavaScript class introduced in ECMAScript 6

In javascript we can create a blueprint for an object as well using function and later on initiate a new object based on that blueprint with the the ‘new’ keyword. However, before ECMAScript 6 we can only create a function with javascript and not the real class, but now we can and I am going to show you an example on how to create a class and later on extend that class to create a new object.

Read more