function getRawType(value) {    
  return Object.prototype.toString.call(value).slice(8, -1)
}
//getoRawType([]) ==> Array

相关文章: