Tag:apply
All the articles with the tag "apply".
Mastering function binding: a deep dive into .bind(), .call() and .apply() functions in Javascript and TypeScript
Posted on:November 19, 2023In the universe of Javascript and TypeScript programming, functions stand at the heart of crafting elegant and scalable code. To navigate the depths of Javascript and TypeScript with the poise of a seasoned sensei, a developer must grasp the nuanced arts of function binding. Here, we unsheathe the revered .bind(), .call(), and .apply() techniques, each wielding distinct powers to manipulate and direct your code's execution, much like a martial artist controls their qi.