ecma 2018, javascript spread syntax behaves like Object.assign

as the subject. It is only supported in Chrome version 60+, so, first check the version, or just use Object.assign maybe.

原文地址:https://www.cnblogs.com/hualiu0/p/8762477.html