摘要: let arr = []; let obj = {}; Object.prototype.toString.call(arr) '[object Object]' //判断对象 返回true Object.prototype.toString.call(obj) '[object Array]' / 阅读全文
posted @ 2020-06-04 11:29 PromiseOne 阅读(336) 评论(0) 推荐(0) 编辑