const speed = 'quick'; `The ${speed} brown fox jumps over the lazy dog.`
function mystery(...params) {
return params;
}
let a = mystery(1,23,4);
let x, { x: y = 1 } = { x }; y;
[...[...'...']].length
(function() {
if (false) {
let f = { g() => 1 };
}
return typeof f;
})()
let some_text = "some string";
if(some_text.indexOf('str') !=-1){
return true;
}
class Slave { // ... };
const slave = Slave();
const [a, , b] = [1, 2, 3];
console.log(a, b);