const speed = 'quick'; `The ${speed} brown fox jumps over the lazy dog.`
let name = 'Harry';
let occupation = 'wizard';
console.log(`Hi! My name is ${name}. I'm a ${occupation}.`);
let x, { x: y = 1 } = { x }; y;
(function() {
let f = this ? class g { } : class h { };
return [ typeof f, typeof h ];
})();
[...[...'...']].length
typeof (function* f() { yield f })().next().next()
const PI = 3.14;
console.log(PI) // Imprime 3.14
let point = [1,3], segment = [point,[5,5]], triangle = [...segment,[1,8]];
const [a, , b] = [1, 2, 3];
console.log(a, b);