Skip to content

Instantly share code, notes, and snippets.

@cmcculloh
Created May 26, 2011 14:28
Show Gist options
  • Save cmcculloh/993253 to your computer and use it in GitHub Desktop.
Save cmcculloh/993253 to your computer and use it in GitHub Desktop.
Array example, terse/readable
window.MyNamespace = {
something:[
["t","h","i","s"],
"that",
"the other"
],
another:function(){
return MyNamespace.something[0].join('');
}
};
alert(MyNamespace.another());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment