ES6
Introducing to ES6
Kartic1 min read
- let – declare block-scoped variables using the
letkeyword. - let vs. var – understand the differences between
letandvar. - const – define constants using the
constkeyword. - Default function parameters – learn how to set the default value for parameters of a function.
- Rest parameter – introduce you to the rest parameter and how to use them effectively.
- Spread operator – learn how to use the spread operator effectively.
- Object literal syntax extensions – provide a new way to define object literal.
- for…of – learn how to use the
for...ofloop to iterate over elements of an iterable object. - Octal and binary literals – provide support for binary literals and change the way to represent octal literals.
- Template literals – learn how to substitute variables in a string.
For more information javascripttutorial.net
Discussion (0)
Sign in to join the discussion.
Follow the engineering notes.
Subscribe for technical articles from iTechOrbit.