深copy 只对Oject/Array,其他数据直接返回进行处理
使用例子,比如copy一个obj对象:
const obj = { name: 'test', point: { x: 110, y: 120 } } const newObj = deepClone(obj)
the identity type
需要深copy的对象
Remarks
深copy 只对Oject/Array,其他数据直接返回进行处理
Example
使用例子,比如copy一个obj对象: