标签:return [] csharp var function turn ret cti object
function copy(o) { var output, v, key; output = Array.isArray(o) ? [] : {}; for (key in o) { v = o[key]; output[key] = (typeof v === "object") ? copy(v) : v; } return output; }
标签:return [] csharp var function turn ret cti object
原文地址:http://www.cnblogs.com/ax-null/p/6946996.html