Skip to content

Instantly share code, notes, and snippets.

@huydx
Created December 10, 2012 16:53
Show Gist options
  • Save huydx/4251775 to your computer and use it in GitHub Desktop.
Save huydx/4251775 to your computer and use it in GitHub Desktop.
tweek object constructor js
function Library(a,b,c) {
if (window == this) {
return new Library(a, b, c);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment