While coding in JavaScript, I'm always perplexed on how JavaScript works. It's just as Kyle Simpson says -
"I don’t think anyone ever really kn...
For further actions, you may consider blocking this person and/or reporting abuse
Really nice post. I finally understood the
.bind
method!Thank you ❤ I'm glad it was useful to you :)
nice! these are always a bit confusing. It would be nice to explain by example when you might use these. For example I've used call for a string templating when I don't want to pass a bunch of parameters. It feels a bit code-smelly tho definitely "side effects" reaching into the caller object for state.
I suggest you go through this link - medium.com/javascript-scene/master...
Really good explanation Rajat ! :)
Thank you bro :)
Thanks a lot!
Thanks for the explanation! Nice and compact info about nuances of .call() and .apply() 👍
I'm glad you liked the explanation. Thank you😊
Definitely filled some gaps in my knowledge of fundamentals🔥.
Haha My pleasure, buddy!
nice ansd simple
Thank you!