0.0.1 • Published 8 years ago

underapply v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

underapply

Apply JavaScript objects with pre-bound context

installation

$ npm install underapply

example usage

It works just like apply, but with context pre-bound an no context parameter

require('underapply').englobal()

var numbersToAdd = [2,4]

((a, b) => a + b)._apply(numbersToAdd)
// -> 6

license

MIT

0.0.1

8 years ago