retonando o anagrama

This commit is contained in:
Carlos cristovao guerreiro scantbelruy 2022-10-28 08:22:17 -04:00
parent fefb2522c8
commit 29679d802c

View File

@ -1,4 +1,8 @@
export function isAnagram(word1, word2) {
// implementar logica aqui
if (word1.length !== word2.length) {
return false;
}
if (word1.length === word2.length) {
return true;
}
}