Skip to content

Instantly share code, notes, and snippets.

@paoloantinori
Last active June 7, 2016 11:22
Show Gist options
  • Save paoloantinori/bd149b116036e9b724d495074cac6943 to your computer and use it in GitHub Desktop.
Save paoloantinori/bd149b116036e9b724d495074cac6943 to your computer and use it in GitHub Desktop.
var f = function(x){
var g = function(prev, x){
if(typeof x !== 'undefined'){
return prev + "l";
} else{
return g.bind(this, prev + "o");
}
}
return g("f", x);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment