Back to JavaScript Notes
Topic #134

JS 2016

ES2016 was a small release — includes and exponentiation. Even small releases matter in a yearly language.


New Features in JavaScript 2016

Supported in all modern browsers since March 2017.

Col 1 Col 2 Col 3
Feature Description
** Raises the first operand to the power of the second
**= Raises the value of a variable to the power of the right operand
Array includes() Checks if an element is present in an array

Browser Support

JavaScript 2016 is supported in all modern browsers since March 2017:

ES 2016 is not supported in Internet Explorer.


Exponentiation Operator

The exponentiation operator (**) raises the first operand to the power of the second operand.

Example

let x = 5;

let z = x ** 2;

x ** y produces the same result as Math.pow(x, y):

Example

let x = 5;

let z = Math.pow(x,2);

Exponentiation Assignment

Example

let x = 5;

x **= 2;

JavaScript Array includes()

ECMAScript 2016 introduced Array.includes to arrays.

This allows us to check if an element is present in an array:

Example

const fruits = ["Banana", "Orange", "Apple", "Mango"];

fruits.includes("Mango");

Want to go beyond the notes?

Join Coding Now Tech Institute's JavaScript course — live mentorship, real projects, and 100% placement support.

Enroll Now — Free Demo Available

JS 2016 – FAQs

Quick answers about learning JS 2016 in JavaScript.

This free note from Coding Now Tech Institute explains JS 2016 in JavaScript — concept, syntax and worked code examples you can copy, run and revise before interviews.
Yes. Every JavaScript topic on Coding Now Tech Institute, including JS 2016, is 100% free with no signup required.
With focused practice, most students grasp JS 2016 in 1–3 days from these notes; pairing it with Coding Now Tech Institute's mentor-led course takes you to job-ready depth faster.
Use the code examples in this note, then ask doubts for free on the Coding Now Tech Institute Community (/community) — expert instructors answer within 24 hours.
Call NowEnroll Now