Fix evaluation order with object spread (#11412)
* Fix object spread runtime semantics * limit this deoptimization * optimize empty objects * declare variables
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
var a;
|
||||
var b;
|
||||
var c;
|
||||
var d;
|
||||
var x;
|
||||
var y;
|
||||
|
||||
({ x, ...y, a, ...b, c });
|
||||
|
||||
({ ...Object.prototype });
|
||||
|
||||
Reference in New Issue
Block a user