🌈 搜索
📅  最后修改于: 2022-03-11 15:02:07.190000             🧑  作者: Mango
let chars = ['A', 'B', 'A', 'C', 'B']; let uniqueChars = [...new Set(chars)]; console.log(uniqueChars);