function isIsogram(sWord) { for (iCharIndex = 0; iCharIndex < sWord.length; iCharIndex++) if (sWord.substring(iCharIndex + 1).includes(sWord.charAt(iCharIndex))) return false; return true; }