-
Notifications
You must be signed in to change notification settings - Fork 252
Closed
Labels
fixed - please verifyIssue has been fixed. Please verify and close.Issue has been fixed. Please verify and close.
Description
It seems like if I put "@" into an JSON object, it's hash value got conflicted with "0"? Very interesting
from helloworld project:
debugger;
let message = "Hello, world - sample";
const chMap = {
"0": 48,
"@": 64,
}
trace(message + "\n\n");
trace('[0] of chMap is :' + chMap['0'].toString() + '\n\n');
trace(chMap['@'].toString() + '\n'); // This crashes
Expected output is :
Hello, world - sample
[0] of chMap is :48
64
But I got
Hello, world - sample
[0] of chMap is :64
XS abort: unhandled exception
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fixed - please verifyIssue has been fixed. Please verify and close.Issue has been fixed. Please verify and close.