fixes issue in var [a,b,c,d] = ... destructuring assignment
This commit is contained in:
parent
2ead907a60
commit
a37183d93e
1 changed files with 2 additions and 0 deletions
|
@ -24115,6 +24115,8 @@ static int js_parse_destructuring_element(JSParseState *s, int tok, int is_arg,
|
|||
goto var_error;
|
||||
opcode = OP_scope_get_var;
|
||||
scope = s->cur_func->scope_level;
|
||||
label_lvalue = -1;
|
||||
depth_lvalue = 0;
|
||||
} else {
|
||||
if (js_parse_postfix_expr(s, TRUE))
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue