O'Reilly logo

Learning ECMAScript 6 by Narayan Prusty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Knowing Your Library

ES6 has added lots of new properties and methods to built-in JavaScript objects, so that the programmer can do cumbersome tasks easily. These new functionalities aim to help the developers get rid of using hacks and error-prone techniques to do various operations related to numbers, strings, and arrays. In this chapter, we will look at all the new functionalities added by ES6 to the native objects.

In this chapter, we'll cover:

  • The new properties and methods of the Number object
  • Representing the numeric constants as binary or octal
  • The new properties and methods of the Math object
  • Creating the multiline strings and the new methods of the String object
  • The new properties and methods of Array object
  • What are Maps and Sets? ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required