Skip to content Skip to sidebar Skip to footer

Singleton Pattern With {}?

I apologize to move it from here as there was some confusion and thanks to Grey for answer this to realized the mistake. The topic has been moved to Javascript: Behavior o

Solution 1:

I don't get an exception:

alert(A instanceofObject); // true

Tested in Chrome, IE8 and Firefox.

Post a Comment for "Singleton Pattern With {}?"