数据类型检测方法 检测基本数据类型 typeof 能检测 string 、 number 、 boolean 、 undefined 和 function。 数组的数据类型检测 第一种检测方式 第二种检测方式 第三种检测方式