Zen af669297ef
Fix evaluation order with object spread (#11412)
* Fix object spread runtime semantics

* limit this deoptimization

* optimize empty objects

* declare variables
2020-04-23 17:59:35 -04:00

8 lines
64 B
JavaScript

var x;
var y;
var z;
z = { x, ...y };
z = { x, w: { ...y } };