判断变量部类

判断变量类型function getType(o) {var _t return ((_t typeof(o)) object ?Object.prototype.toS

判断变量类型

function getType(o) {var _t; return ((_t = typeof(o)) == "object" ?Object.prototype.toString.call(o).slice(8,-1):_t).toLowerCase();}