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? ...

Get React: Building Modern Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.