Skip to content

Instantly share code, notes, and snippets.

@A1rPun
Last active August 29, 2015 14:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save A1rPun/db220873a2a6320822d4 to your computer and use it in GitHub Desktop.
Save A1rPun/db220873a2a6320822d4 to your computer and use it in GitHub Desktop.
function mune(){
var a=Array.isArray(arguments[0]) ? arguments[0] : arguments;
for(var i=0,l=a.length,l=l>31?31:l;i<l;i++){this[a[i]] = 1 << i}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment