最新文章
  • javascript判断数据类型

    由于typeof 只能判断基本类型 string,number,boolean, undefined,object 利用 Object.prototype.toString.call 实现: function type (obj) { return Objec……

    东明兄 2017-11-23
    870 0