判断js对象是否为数组对象

var isArray = function(obj){ return obj instanceof Array; };
相关文章
相关标签/搜索