js判断一个对象是数组(函数)的方法实例 1.typeof操作符示例://数值typeof37==='number';//字符串typeof''==='string';//布尔值typeoftrue==='boolean';/ 数组是对象吗