Class in JavaScript

added by DotNetKicks
12/29/2017 1:57:05 PM

1 Kicks, 229 Views

Read full article on the Infragistics blog ECMAScript 6 introduced the class keyword to create classes in JavaScript. Now, you can just use the class attribute to create a class in JavaScript. Before ECMA 6, whenever you called a function using a new operator, the function returned a new object.