javascript判断object对象类型

Object.prototype.toString.call([]); // 返回 "[object Array]" 

posted @ 2018-03-27 16:43  理解龙儿  阅读(295)  评论(0编辑  收藏  举报