Skip to content

Instantly share code, notes, and snippets.

@cowboy
Created April 25, 2014 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cowboy/11301111 to your computer and use it in GitHub Desktop.
Save cowboy/11301111 to your computer and use it in GitHub Desktop.
why do i do this kind of thing
(function() {
var $=['_'].concat(Array(arguments.length-1),'return _');
var _=Function.apply(null,$);
$.forEach.call(arguments,function($,$$){_[$$]=$});
return $.map.bind.call($.map,_,_);
}(5,6,7,8))()
@tschoffelen
Copy link

Well, I admire the complexity! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment