ES7(ES2016) & Beyond

There was a lot of things added in ES6, luckily ES7 or ES2016 has one two features to talk about! That’s right TWO! Much easier to digest and get caught up on. These features are the Exponents operator and the Array .includes method.

Exponents

In JavaScript expressions are evaluated based on BEDMAS, brackets, exponents, division, multiplications, additions, and subtractions. However we have never been able to express an exponent elegantly. There is a method on Math that let’s us express a base to some exponent.

For example, 2 to the power of 8.

Get hands-on with 1200+ tech skills courses.