Skip to content

Instantly share code, notes, and snippets.

@specialunderwear
Created January 29, 2012 23:46
Show Gist options
  • Save specialunderwear/1701400 to your computer and use it in GitHub Desktop.
Save specialunderwear/1701400 to your computer and use it in GitHub Desktop.
next function
> var next = function(input) {
> return input + 1;
> }
> var three = new next;
> three;
[Function]
> three(2);
3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment