function getType(n){
return Object.prototype.toString.call(n);
}
null, undefined, number, boolean, string
object: Array, Date, Function
转载自:https://blog.csdn.net/jerny2017/article/details/80405872
function getType(n){
return Object.prototype.toString.call(n);
}
null, undefined, number, boolean, string
object: Array, Date, Function
转载自:https://blog.csdn.net/jerny2017/article/details/80405872
转载于:https://www.cnblogs.com/fixit/p/10375711.html