JavaScript gives you multiple ways to control the this context of a function — and it can be messy. Enter: .call(), .apply(), and .bind()…
JavaScript gives you multiple ways to control the this context of a function — and it can be messy. Enter: .call(), .apply(), and .bind()…