InterviewHubPRO
Section Overview
Q310

Question 310 of 521

Part 5: ES6+ Modern Syntax, Classes, Modules & Destructuring (254 - 328)

60%
JavaScript Internals (521 Qs)•Part 5: ES6+ Modern Syntax, Classes, Modules & Destructuring (254 - 328)

What is ES6

ES6 is the sixth edition of the javascript language and it was released in June 2015. It was initially known as ECMAScript 6 (ES6) and later renamed to ECMAScript 2015. Almost all the modern browsers support ES6 but for the old browsers there are many transpilers, like Babel.js etc.

Practical Code Example

javascript
// ES6 (ECMAScript 2015): The most significant update in JavaScript history:
// Introduced classes, modules, arrow functions, let/const, promises, symbols,
// default parameters, template strings, iterators, and generators.