Skip to content
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

JSON.stringify(undefined) returns internal state #39

Open
Fuyukai opened this issue Apr 6, 2023 · 0 comments
Open

JSON.stringify(undefined) returns internal state #39

Fuyukai opened this issue Apr 6, 2023 · 0 comments

Comments

@Fuyukai
Copy link
Contributor

Fuyukai commented Apr 6, 2023

This one is more confusing than an actual issue, but nevertheless:

["class dev.latvian.mods.rhino.Undefined","static final java.lang.Object ","static final dev.latvian.mods.rhino.Scriptable ","boolean (java.lang.Object)","int ()","java.lang.Object ()","static boolean (java.lang.Object)","void (long, int)","void ()","native void (long)","java.lang.String ()","native java.lang.Class ()","native void ()","native void ()"]

MDN says that it should just return null/undefined (which is what Node/Moz Rhino) does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant