- The reference seems confusing.
Understanding “bind” in JavaScript for beginners (including call and apply) | R Effect
- If nothing is done, does the function refer to the place where it is executed?
- Using .bind(), you can change the reference.
- Additionally, you can set params in advance.