摘要: var arr = ['a', 'b', 'c', 'd']; var json = { a: { f: { g: { h: {} } }, d: {}, } }; var R = toJSON(arr); R = copy(R,json); console.log(R); function toJ 阅读全文
posted @ 2016-11-03 15:32 levyleo 阅读(1478) 评论(0) 推荐(0) 编辑