$ npm install fj-apply
apply in functional style!
apply
npm install fj-apply --save
var apply = require('fj-apply'); apply(Math.min,[-1,1,2,42,0]); // -1
(*... -> a) -> [*]-> a
fn (madatory) function to applied.
fn
arg (madatory) arguments with which fn should be called.
arg