摘要: var properties = []; function getProps(obj) { if (typeof target == 'object') { for (var key in obj) { if (obj.hasOwnProperty(key)) { properties.push(key); ... 阅读全文
posted @ 2017-06-28 15:16 风之约 阅读(172) 评论(0) 推荐(0) 编辑