Created
July 9, 2017 13:03
-
-
Save goofmint/3aff1d875754544f52904b4f70859745 to your computer and use it in GitHub Desktop.
This file contains 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
var hello = Hello.HelloClass.create(); | |
hello.unknown = "New property!"; | |
// -> TypeError: Can't add property unknown, object is not extensible |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment