没有娃娃菜怎么吃火锅 进来随便坐
判断变量是否是数组
发布于: 2020-09-13 更新于: 2020-09-14 分类于:  阅读次数: 

1.instance of

2.原型prototype+toString()+call()

3.原型prototype+isPrototypeOf()

4.构造函数constructor

5.数组方法isArray()

https://www.cnblogs.com/zhizhic/p/9988947.html

--- 本文结束 The End ---