-
-
Save lykkin/f6e7f33cda4594c74a484b30410a3df6 to your computer and use it in GitHub Desktop.
no defineProp for nonenum
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
function a(x) { this.x = 1 } | |
a.prototype.toJSON = function () {return} | |
x = {test: new a(1)} | |
JSON.stringify(x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment