How can I call native bind method of function-object with coffeescript ? This is the example of what I am trying to achieve:
window.addEventListener("load",function(e){
this._filter(true);
}.bind(this);
)
How can I call native bind method of function-object with coffeescript ? This is the example of what I am trying to achieve:
|
|||
|
Just add some parentheses around the function so that you can
That will use the native |
|||||
|
I think this is what you're trying to achieve:
|
|||||
|