typeof 判断array
时间: 2023-09-17 11:11:12 浏览: 82
基于javascript中的typeof和类型判断(详解)
typeof 判断数组的结果是"object"。\[1\] \[2\] \[3\]
#### 引用[.reference_title]
- *1* [JS typeof 类型判断 & 判断是否是数组](https://blog.csdn.net/qq_41860203/article/details/112602154)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [js typeof 和 判断array 以及是Array还是Object或者null](https://blog.csdn.net/u013362969/article/details/81141945)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [js类型判断1: typeof 和 判断array 以及是Array还是Object或者null](https://blog.csdn.net/qq_38719039/article/details/81979345)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文