通过Object.prototype.toString.call()这个方法,能快速的判断一个数据的数据类型!
判断数据类型最准确的方法
原文:https://www.cnblogs.com/cy-bo/p/9362593.html