🔥Limited Offer: Get 50% OFFon AI & Full Stack Courses🔥
Back to JavaScript Notes
Topic #134

JS 2016


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 CodingNow 2.0'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 CodingNow 2.0 explains JS 2016 in JavaScript — concept, syntax and worked code examples you can copy, run and revise before interviews.
Yes. Every JavaScript topic on CodingNow 2.0, 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 CodingNow 2.0'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 CodingNow 2.0 Community (/community) — expert instructors answer within 24 hours.
WhatsApp
Call NowEnroll Now