Modern Javascript ES6

ECMAScript is a scripting-language specification standardized by ECMA International. 
It was created to standardize JavaScript to help foster multiple independent implementations.

Here are the features in ES6 modern javascript

1) let and const keywords provide the block-scoped variables
 
Variables declared with var keyword can not have Block Scope 

2) object.freeze()
  When a object is frozen you can not modify the properties of it. But ofcourse it only shallow the first level of the object properties. 

3) Rest operator
When there are many values available rest operator is used to extract the remaining properties into an array

4)In String 
  • includes
  • startsWith
  • endsWith
  •  to string concatenate backstick can be used
6) arrow functions

Comments

Post a Comment

Popular Posts