主要用Array.from 方法1、array --> set (数组转set) let array = [1, 2, 3, 4]; let set = new Set(array); 2、
確定! 回上一頁