JS 2016 Introduces Three New Features

  • JavaScript Exponentiation (**)
  • JavaScript Exponentiation assignment (**=)
  • JavaScript Array includes()

We will explore all the above methods along with their basic implementation with the help of examples.

JS 2016 or ECMAScript 2016

JavaScript 2016 (ES2016) is a modified version of ES2015 in which they introduced some new features like JavaScript Exponentiation (**) operator, JavaScript Exponentiation assignment (**=), and Array..includes() method for array element presence checking, enhancing calculations, and array operations, JavaScript 2016 is also known as ECMAScript 2016.

Similar Reads

JS 2016 Introduces Three New Features

JavaScript Exponentiation (**) JavaScript Exponentiation assignment (**=) JavaScript Array includes()...

Method 1: Exponentiation (**) Operator

JavaScript exponentiation (**) is an operator that raises the left operand to the power of the right operand, simplifying mathematical calculations and providing a concise way to perform power operations....

Method 2: Exponentiation Assignment (**=) Operator

...

Method 3: JavaScript Array includes() Method

JavaScript’s exponentiation assignment (**=) operator updates a variable by raising its value to the power of another....

Contact Us