Skip to content

Instantly share code, notes, and snippets.

@Raynos
Created October 7, 2011 14:36
Show Gist options
  • Save Raynos/1270401 to your computer and use it in GitHub Desktop.
Save Raynos/1270401 to your computer and use it in GitHub Desktop.
var add = function(a,b) {
if (this) dance();
else return a + b;
}
var addOne = add.bind(null, 1);
addOne.call("can I dance please :(");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment