判断数据类型最准确的方法

通过Object.prototype.toString.call()这个方法,能快速的判断一个数据的数据类型!

 

      

posted @ 2018-07-24 21:01  cy、渲染  阅读(232)  评论(0)    收藏  举报