const obj = { foo: 1 };
obj.bar = 2;
let name = 'Harry';
let occupation = 'wizard';
console.log(`Hi! My name is ${name}. I'm a ${occupation}.`);
typeof (new (class F extends (String, Array) { })).substring
typeof (function* f() { yield f })().next().next()
const PI = 3.14;
console.log(PI) // Gibt 3.14 aus
let a = 12, b = 3;
[a, b] = [b, a];
class Slave { // ... };
const slave = Slave();