Underscore 互动版

在线工具推荐: Three.js AI纹理开发包 - YOLO合成数据生成器 - GLTF/GLB在线编辑 - 3D模型格式在线转换 - 可编程3D场景编辑器

clone

clone:

引入方式克隆对象,不进行复制

    console.log(
       _.clone({name : 'moe'});
    );
    => {name : 'moe'};
将上文中的示例,在右侧javascript代码框中实现。