摘要: 1、如何判断数组? (1)instanceof 不能使用typeof判断数组。 (2)constructor (3)Object.prototype.toString.call() (4)Array.isArray() 2、如何进行数组去重? (1)使用栈方法 (2)new Set方法 (3)ind 阅读全文
posted @ 2021-05-25 16:37 李起桉 阅读(41) 评论(0) 推荐(0) 编辑