There are many shorthand ways provided by es6 which we can write javascript. 1. Declaring Variables 2. Assigning values to multiple variables We can assign values to multiple variables in one line with array destructuring. 3.The Ternary operator We...

Markdown supported · ⌘↵ to post
Great work! Fantastic list!!!
ES6 truly rocks! With all these techniques you can do neat things like solve the palindrome problem is 1 line of javascript : indepthjavascript.dev/how-to-solve-valid-palindro…
😎
Sojin Samuel
Sojin Samuel here. I’m a Full Stack Engineer, You can hire me as a writer for your blog for topics like web2/web3 && especially for JS
We can also use structuredClone() to make deep clones of an object. Ref: developer.mozilla.org/en-US/docs/Web/API/structur…