mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Merge branch 'master' of github.com:documentcloud/underscore
This commit is contained in:
@@ -715,7 +715,7 @@ _.range(0);
|
|||||||
Bind a <b>function</b> to an <b>object</b>, meaning that whenever
|
Bind a <b>function</b> to an <b>object</b>, meaning that whenever
|
||||||
the function is called, the value of <i>this</i> will be the <b>object</b>.
|
the function is called, the value of <i>this</i> will be the <b>object</b>.
|
||||||
Optionally, bind <b>arguments</b> to the <b>function</b> to pre-fill them,
|
Optionally, bind <b>arguments</b> to the <b>function</b> to pre-fill them,
|
||||||
also known as <b>currying</b>.
|
also known as <b>partial application</b>.
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
var func = function(greeting){ return greeting + ': ' + this.name };
|
var func = function(greeting){ return greeting + ': ' + this.name };
|
||||||
|
|||||||
Reference in New Issue
Block a user