I read on this ECMAScript page that 'class' is part of JavaScript. On this page about TypeScript, I see the 'class' is available in Typescript too.
My question is, the right approach to develop JavaScript applications FOR FUTURE is to take advantage of (a) the Object Oriented features in JavaScript and the features that will be availablein EMACScript 7.0 or (b) use libraries like TypeScript
classis a reserved keyword in JavaScript. But it's not used yet. ES6 has defined classes, but I suspect that browsers will take their time to implement them. Whether you should use native JavaScript, or use a dialect of JavaScript such as TypeScript is really personal preference.