export function isAnagram(word1, word2) { // implementar logica aqui return putOnUnicodeOrder(word1) === putOnUnicodeOrder(word2); } function putOnUnicodeOrder(string){ return string .toLowerCase() .split("") .sort() .join(""); }