You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2022. It is now read-only.
oatkiller edited this page Sep 13, 2010
·
2 revisions
take takes a function that operates on its execution context and returns a function which operates on its first parameter.
(function () {
// Array.prototype.join joins an array. used like [1,2,3].join(' ') === '1 2 3'
var join = o.take(Array.prototype.join);
join([1,2,3],' ') // returns '1 2 3'. now the array is passed as the first param.
})();