Everything new in ES2016

Let’s check out the new features introduced in ES2016.

ES2016 introduced just only two new features:

  • Array.prototype.includes()
  • The exponential operator

 

Array.prototype.includes() #

The includes() method will return true if our array includes a certain element, or false if it doesn’t.

Get hands-on with 1200+ tech skills courses.