摘要: 1.递归 var data = [1, 2, 3]var data2={"x":11,"y":22} var deepcopy = function(obj) { const t = typeof obj let o = Array.isArray(obj) ? [] : {} if(t "obje 阅读全文
posted @ 2019-06-27 14:57 小哩 阅读(122) 评论(0) 推荐(0) 编辑