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
main() {
var x = { "f": 42 };
return x["f"] = 87;
}
to this JavaScript code:
function main() {
var x = $map(["f", 42]);
return x.$setindex("f", 87);
}
but according to the spec it needs to return ignore the result of calling the setter (which is undefined/null at the moment) and return the value (87) instead.
The text was updated successfully, but these errors were encountered:
Frog compiles this Dart code:
main() {
var x = { "f": 42 };
return x["f"] = 87;
}
to this JavaScript code:
function main() {
var x = $map(["f", 42]);
return x.$setindex("f", 87);
}
but according to the spec it needs to return ignore the result of calling the setter (which is undefined/null at the moment) and return the value (87) instead.
The text was updated successfully, but these errors were encountered: