mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-30 15:04:24 +03:00
spec update: ToPropertyKey() is now done after the evaluation of the expression in assignments
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user