function containsRepeatingLetter(str) { const matches = str.match(/[a-zA-Z]{1}/g) return matches.length !== Array.from(new Set(matches)).length }
function containsRepeatingLetter(str) { const matches = str.match(/[a-zA-Z]{1}/g) return matches.length !== Array.from(new Set(matches)).length }