This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Introducing fu: furf's functional funpack. | |
* "Putting the F-U back in JS!" | |
* | |
* fu.Array.map([1, 2, 3], a => a * 2) => [2, 4, 6] | |
* fu.String.repeat('fu ', 3) => "fu fu fu" | |
*/ | |
this.fu = (function() { | |
const call = Function.prototype.call; |