📜  isogram - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:45.049000             🧑  作者: Mango

代码示例1
const isIsogram = str => {
  str = str.toLowerCase().split('')
  let dupArr = [...new Set(str)]
  return dupArr.join('').length === str.join('').length
}
console.log(isIsogram("Dermatoglyphics"))