JavaScript shorthand tips and tricks that will save your time | by Amitav Mishra | JavaScript in Plain English

PHOTO EMBED

Fri May 13 2022 15:17:20 GMT+0000 (Coordinated Universal Time)

Saved by @dryadmedia #javascript

//Longhand 
const power = Math.pow(4, 3); // 64 
// Shorthand 
const power = 4**3; // 64
content_copyCOPY

https://javascript.plainenglish.io/20-javascript-shorthand-techniques-that-will-save-your-time-f1671aab405f