多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
~~~ var a = 0; var b = a; b++; alert(a); //=>"0" var o = {}; o.a = 0; var b = o; b.a = 10; alert(o.a); //=>"10" ~~~ ![](https://img.kancloud.cn/7a/5d/7a5d2d67a698e46e20cf893e755f21cc_594x530.png) ~~~ let x = [1, 2, 3]; let y = x; let z = [4, 5, 6]; y[0] = 10; y = z; z[1] = 20; x[2] = z = 30; console.log(x, y, z); ~~~ ![](https://img.kancloud.cn/aa/f0/aaf033fc42e1a62c14adb63b412ea244_590x333.png) ![](https://img.kancloud.cn/90/1e/901eb354b1beb6eb770bc6c785291e88_883x515.png)