0
How to add a property to this object of a function via call or apply in JavaScript?
I want to add a property to this object of a function from outside of that function. I know that this can be achieved by prototype. But I want to do this via call or apply.
1 Antwort
+ 3
This video would help you understand it.
https://youtu.be/c0mLRpw-9rI