define(['clone', function (clone) { const a = { c: 1 } const b = clone(b) a.c = 2 console.log(a.c); console.log(b.c); }])

  转载请注明: malred-blog

 上一篇
(function (root, factory) { var clone = factory(root); if (typeof clone === 'function' && define.amd) {
2023-06-23 malred
下一篇 
function type(data) { return Object.prototype.toString.call(data).slice(8, -1).toLowerCase(); } define(function ()
2023-06-23 malred
  目录