isogram code example
Example: isogram
const isIsogram = str => {
str = str.toLowerCase().split('')
let dupArr = [...new Set(str)]
return dupArr.join('').length === str.join('').length
}
console.log(isIsogram("Dermatoglyphics"))
const isIsogram = str => {
str = str.toLowerCase().split('')
let dupArr = [...new Set(str)]
return dupArr.join('').length === str.join('').length
}
console.log(isIsogram("Dermatoglyphics"))