[bug] If structure incorrectly transformed
The IF
bug is below:
ES6 Source
let x,a,b
if(!x) x=2
;[a,b]=[1,2]
console.log(x,a,b)
Transformed result:
var x;
var a;
var b;
if(!x) { x=2
;var assign;
(assign = [1,2], a = assign[0], b = assign[1]) };
console.log(x,a,b);
You can see the if
structure incorrectly changed, generated code will broken.
Edited by username-removed-678626