Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

Exponent Power Shorthand in javascript

// Exponent Power Shorthand in javascript
// Longhand:
console.log(Math.pow(2,3)); // 8
console.log(Math.pow(2,2)); // 4
console.log(Math.pow(4,3)); // 64

// Shorthand:
console.log(2**3); // 8
console.log(2**4); // 4
console.log(4**3); // 64
Comment

PREVIOUS NEXT
Code Example
Javascript :: convert datetime to milliseconds in javascript 
Javascript :: express plus es6 
Javascript :: ingore render on refresh page 
Javascript :: how to hide all tabs in windows 10 
Javascript :: vs code javascript type check 
Javascript :: javascript unicode literal 
Javascript :: @material-ui/core/Field 
Javascript :: Lisk Schema example 
Javascript :: javascript Big decimal 
Javascript :: Nodemailer Reuseable Code 1 
Javascript :: graphql get item by id from strapi react 
Javascript :: best browser for programmers 
Javascript :: Filters in Algolia search 
Javascript :: npmjs invoice template 
Javascript :: replace text with hyperlink 
Javascript :: How to create an array containing 1...N 
Javascript :: javascript date set day of week 
Javascript :: see wss request on network tab 
Javascript :: upload image in react next js authentication 
Javascript :: how to change default browser in vs code json 
Javascript :: response conditions 
Javascript :: node javascript retry promise.all 
Javascript :: JavaScript Normalized and UnNnormalized URL 
Javascript :: editorGutter.modifiedBackground striped color 
Javascript :: how to send Flutter Color as json || convert String to Color Flutter 
Javascript :: javascript copy input value to clipboard 
Javascript :: Show / Hide Div On Radio Button Click angular 
Javascript :: javascript update page when json file changes 
Javascript :: promise.all to send emails 
Javascript :: for loop shothand in js 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =