function mystery(...params) {
return params;
}
let a = mystery(1,23,4);
let x, { x: y = 1 } = { x }; y;
(function() {
let f = this ? class g { } : class h { };
return [ typeof f, typeof h ];
})();
[...[...'...']].length
typeof (new (class F extends (String, Array) { })).substring
typeof (function* f() { yield f })().next().next()
let titleElements = document.querySelectorAll('.article .title'); let titles = Array.from(titleElements).map( t => t.textContent ); console.log(titles);
class Slave { // ... };
const slave = Slave();