fix object spread (#4976)

This commit is contained in:
Henry Zhu
2016-12-08 20:13:57 -05:00
committed by GitHub
parent 10d75f6d8a
commit cfc1e5cb38
2 changed files with 8 additions and 10 deletions

View File

@@ -2,4 +2,4 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
z = _extends({ x }, y);
z = _extends({ x, w: { ...y } });
z = { x, w: _extends({}, y) };