const isIsogram = str => { str = str.toLowerCase().split('') let dupArr = [...new Set(str)] return dupArr.join('').length === str.join('').length } console.log(isIsogram("Dermatoglyphics")) // With love @kouqhar