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

Using Call In Javascript Vs Returning By Simple Function

These are the 2 methods to calculate total amount based on object data: Snippet 1 Snippet 2 Re… Read more Using Call In Javascript Vs Returning By Simple Function

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