`this` in JavaScript


If you have ever got your hands dirty with JavaScript, you know that this doesn't always refer to what you might expect.

Basically, it's not guaranteed, ever.



.call(), apply()


() => { ... }  vs. function(){ ... }


subscribe() -> subscriber, hit in Angular which started reloading the whole app because onSubmit wasn't called.

D3 -> see docs