ES6 or ECMAScript 6 is a new version of Javascript. It was released in 2015.
The ES6 comes up with the following features
The ES6 comes up with the following features
- Const and let variable
- Arrow function
- Template literals
- Object Literals
- Rest and Spread operators
- Default parameter value
- Export and Import modules
- Classes
- Map and Set
- Array and Object Matching
- Array find and Findindex
- Number Methods - Number.isInteger(),Number.isSafeInteger()
Conts and Let Variables
ES6, as introduced new variable declaration const let
let is a block scoped, reassign the values and used with the block.
let is a block scoped, reassign the values and used with the block.
const can't reassign the value, it is an immutable variable.
Comments
Post a Comment