spec update: ToPropertyKey() is now done after the evaluation of the expression in assignments

This commit is contained in:
Fabrice Bellard
2025-04-15 10:50:59 +02:00
parent 8bb41b20dd
commit 8f99de5b7f
3 changed files with 2 additions and 19 deletions

View File

@@ -23778,11 +23778,7 @@ static __exception int get_lvalue(JSParseState *s, int *popcode, int *pscope,
update_label(fd, label, 1);
opcode = OP_get_ref_value;
break;
case OP_get_array_el:
emit_op(s, OP_to_propkey2);
break;
case OP_get_super_value:
emit_op(s, OP_to_propkey);
default:
break;
}
}