📅  最后修改于: 2022-03-11 15:03:45.049000             🧑  作者: Mango
const isIsogram = str => {
str = str.toLowerCase().split('')
let dupArr = [...new Set(str)]
return dupArr.join('').length === str.join('').length
}
console.log(isIsogram("Dermatoglyphics"))