ES7 has only two features
ES7 features:
Array.prototype.includes - if you declare
a.includes(1); True
a.includes(1, 0); True
a.includes(1, 2)
The second parameter is fromIndex - which ask it to start seeking after certain no of position.
- Exponentiation Operator ** - example 4 ** 9 = 262144
Comments