判断变量是否是数组 function isArray(value){ return Object.prototype.toString.call(value) == "[object Array]" } //返回布尔值