ES6/ES7/ES8 has added lots of new properties and methods to built-in JavaScript objects. These new functionalities aim to help developers avoid using hacks and error-prone techniques to do various operations related to numbers, strings, and arrays.
From the last chapter, you now know a decent amount of background details about JavaScript, how it works, its fundamentals, and basic stuff such as hoisting, scoping variables, and immutability. Now let's move on and take a look at some topics which you'll end up using practically all the time in your code.
In this chapter, we'll cover:
- The new properties and methods of the Number, Object, Math, and Array objects
- Representing numeric constants as binary or octal
- Creating multiline strings and the new methods of the String object
- Maps and sets
- Using array buffers and typed arrays
- How to iterate...