Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function HelloWorld () {
- if (arguments.callee._singletonInstance) return arguments.callee._singletonInstance
- arguments.callee._singletonInstance = this
- this.HelloWorld = print
- }
- var hw = new HelloWorld()
- hw.HelloWorld("Sup, desu")
Add Comment
Please, Sign In to add comment