development #13

Merged
Rafael_Sampaio_de_Oliveira merged 22 commits from development into master 2022-11-01 16:32:59 +00:00
Showing only changes of commit 5cc3db4d56 - Show all commits

View File

@ -1,4 +1,11 @@
export function isAnagram(word1, word2) {
// implementar logica aqui
}
let str1 = word1.toLowerCase().split("").sort().join("");
let str2 = word2.toLowerCase().split("").sort().join("");
if (str1 === str2) {
return true;
} else {
return false;
}
}