function mystery(...params) {
return params;
}
let a = mystery(1,23,4);
let name = 'Harry';
let occupation = 'wizard';
console.log(`Hi! My name is ${name}. I'm a ${occupation}.`);
let x, { x: y = 1 } = { x }; y;
[...[...'...']].length
typeof (new (class F extends (String, Array) { })).substring
const PI = 3.14;
console.log(PI) //Prints 3.14
let a = 12, b = 3;
[a, b] = [b, a];
const [a, , b] = [1, 2, 3];
console.log(a, b);