Last active
June 27, 2016 00:34
-
-
Save mariyadiminsky/5ee1496b90f7439c037b89f32b2738b0 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
function createNewBunny() { new Bunny(); } | |
createNewBunny(); // ReferenceError | |
class Bunny {...etc} | |
createNewBunny(); // Works! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment