Use the Set() constructor to convert an array to a Set , e.g. const set = new Set(arr); . · The Set() constructor is used to create Set objects that store unique ...
確定! 回上一頁