Skip to content

Commit

Permalink
Mentioning apply in the README.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gábor Molnár committed May 27, 2012
1 parent 6449f01 commit 9637112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Filter for `this`
-----------------

The filter for `this` is also part of the function signature. To define a filter for the value
of `this`, use `def.call`.
of `this`, use `def.call` or `def.apply`.

```javascript
print = def.call(Number, function(comment) { console.log('Number: ' + this + ' (' + comment + ')'); })
Expand Down

0 comments on commit 9637112

Please sign in to comment.