Skip to content Skip to sidebar Skip to footer
Showing posts with the label Apply

Call/bind/apply Vs Prototype

In the following code: function User(name) { this.name = name; } var user = new User('Jaso… Read more Call/bind/apply Vs Prototype

Apply/call Method In Javascript: What Is The First Arguments "this"?

I am confused about using apply or call method correctly. I know that apply is passing an array to … Read more Apply/call Method In Javascript: What Is The First Arguments "this"?