📅  最后修改于: 2022-03-11 14:59:01.747000             🧑  作者: Mango
let chars = ['A', 'B', 'A', 'C', 'B'];
let uniqueChars = [...new Set(chars)];
console.log(uniqueChars);
Langage de code : JavaScript ( javascript )