export function isAnagram(word1, word2) {
// implementar logica aqui
const palavra = str =>
str
.toLowerCase()
.replace(/[^a-z0-9]/, '')
.split('')
.sort()
.join('');
return palavra(word1) === palavra(word2);
}