JavaScript 实用工具库• 2018年04月12日精确类型检查function typeOf (obj) { const toString = Object.prototype.toString; return toString.call(obj).sl...