You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unsure if Lat wants to fix this since the functionality of symbols isn't... particularly useful within an MC context, but I transferred it to the Rhino repo regardless
Minecraft Version
1.20.1
KubeJS Version
2001.6.4-build.130
Rhino Version
2001.2.2-build.18
Architectury Version
9.1.12
Forge/Fabric Version
Forge 47.2.17
Describe your issue
Take the following code from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/description:
In a script, this gives the following output:
Only
console.warn(Symbol.keyFor(Symbol.for('foo')))
has the expected output.It's worth noting that the symbols do exist and can be printed:
The above code gives:
Crash report/logs
No response
The text was updated successfully, but these errors were encountered: