Created
March 22, 2018 09:06
-
-
Save sivaraj-v/612b877630b9687a6ea912edebe4a722 to your computer and use it in GitHub Desktop.
ES6 javascript file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let { x, y, ...z } = { x: 1, y: 2, a: 3, b: 4 }; | |
console.log(x); // 1 | |
console.log(y); // 2 | |
console.log(z); // { a: 3, b: 4 } | |
[5, 6].map(n => console.log(n)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment