![](https://i-blog.csdnimg.cn/blog_migrate/8f900a89c6347c561fdf2122f13be562.gif)
![ExpandedBlockStart.gif](https://i-blog.csdnimg.cn/blog_migrate/961ddebeb323a10fe0623af514929fc1.gif)
1
var
is_array
=
function
(value) {
2 return value &&
3 typeof value === ' object ' &&
4 typeof value.length === ' number ' &&
5 typeof value.splice === ' function ' &&
6 ! (value.propertyIsEnumerable( ' length ' ));
7 };
8
2 return value &&
3 typeof value === ' object ' &&
4 typeof value.length === ' number ' &&
5 typeof value.splice === ' function ' &&
6 ! (value.propertyIsEnumerable( ' length ' ));
7 };
8