Created
October 16, 2011 04:17
-
-
Save dshaw/1290501 to your computer and use it in GitHub Desktop.
fp.js snippets
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
// @littlecalculist | |
var bind = Function.prototype.call.bind(Function.prototype.bind) | |
var call = bind(Function.prototype.call, Function.prototype.call) | |
var apply = bind(Function.prototype.call, Function.prototype.apply) | |
// @cowboy | |
var typeorama = Function.prototype.call.bind(Object.prototype.toString) | |
// @dshaw | |
var toString = Function.prototype.call.bind(Object.prototype.toString) | |
var type = Function.prototype.call.bind(Object.prototype.toString) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment