typeof "bla"
typeof 0
typeof null
typeof NaN
typeof {}
typeof []
typeof function () {}
const o = {
m() {
console.log(this);
}
};
const { m } = o;
o.m();
m();
console.log(1);
setTimeout(() => console.log(2), 10);
setTimeout(() => console.log(3), 0);
console.log(4);
const o = {
movie: 'Lion King',
name: 'Pumba',
};
const p = Object.create(o);
p.name = 'Timon';
Object.keys(p).forEach(k => console.log(k));
for (i = 0; i < 5; i++) {
setTimeout(() => console.log(i), 1000);
}
## Explain the concept of dependency injection