企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 集合 * 一种**无序**且**唯一**的数据结构 * es6中 Set * 集合常用的操作:去重、判断某元素是否在集合中、求交集等。 https://leetcode-cn.com/problems/intersection-of-two-arrays/ ![](https://img.kancloud.cn/c6/2b/c62b8efd637635046e992a9a61c79054_925x509.png) ![](https://img.kancloud.cn/54/72/54729195d822185021fa7748ddcdaa44_745x298.png) ![](https://img.kancloud.cn/52/33/5233ca17790bdd8cb9ef14f77db49d50_874x160.png)