SOURCE

	if (!Array.isArray) {
		Array.isArray = function(){
			return Object.prototype.toString.call(this) === "[object Array]";
		}
	}

	console.log(Array.isArray([1,2,3,4]));
	console.log(Array.isArray("1,2,3,4"));
console 命令行工具 X clear

                    
>
console