摘要: function getType(obj){ return (obj === null && 'Null') || (obj === undefined && 'Undefined') || Object.prototype.toString.call(obj).slice(8,-1);}ge... 阅读全文
posted @ 2015-02-07 16:46 北京-木木 阅读(324) 评论(0) 推荐(0) 编辑