const obj = { foo: 1 };
obj.bar = 2;
let x, { x: y = 1 } = { x }; y;
(function() {
let f = this ? class g { } : class h { };
return [ typeof f, typeof h ];
})();
typeof (function* f() { yield f })().next().next()
const PI = 3.14;
console.log(PI) // Gibt 3.14 aus
let titleElements = document.querySelectorAll('.article .title'); let titles = Array.from(titleElements).map( t => t.textContent ); console.log(titles);