-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
two json stringify fixes #1209
two json stringify fixes #1209
Conversation
@@ -294,10 +294,17 @@ private static Object str(Object key, Scriptable holder, StringifyState state) { | |||
value = getProperty(holder, ((Number) key).intValue()); | |||
} | |||
|
|||
if (ScriptRuntime.isSymbol(value)) return Undefined.instance; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this correct, from an EcmaScript pov, that this is here, before the toJSON call or the call to the replacer (if provided)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will have a look - good point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@p-bakker you are right here - update is on the way. Many thanks for the review.
PR looks good to me |
No description provided.