ES6

Introducing to ES6

Kartic1 min read
  • let – declare block-scoped variables using the let keyword.
  • let vs. var – understand the differences between let and var.
  • const – define constants using the const keyword.
  • 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...of loop 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

Share this articleLinkedIn X

Discussion (0)

Sign in to join the discussion.

Delete this comment?

This will also remove its replies.

Follow the engineering notes.

Subscribe for technical articles from iTechOrbit.