Created
March 14, 2013 00:09
-
-
Save AlexJWayne/5157705 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > Counter | |
| function Counter() { [native code] } | |
| > Counter() | |
| TypeError: Illegal constructor | |
| > c = new Counter() | |
| TypeError: Illegal constructor | |
| > Counter(1) | |
| TypeError: Illegal constructor | |
| > Counter.call() | |
| TypeError: Object function Counter() { [native code] } has no method 'call' | |
| // wtf? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment