Net-informations.com
SiteMap  | About    

Function.prototype.bind in JavaScript

The bind() method preserves the context of 'this' and current parameters for future execution. Typically, it is used to preserve execution context for a function that executes in another context. The bind() creates a new function that has the same body as the original function. The first argument passed to bind specifies the value of the this keyword in the bound function. You can also pass additional, optional arguments to bind.

example









net-informations.com (C) 2018    Founded by raps mk
All Rights Reserved. All other trademarks are property of their respective owners.