feature/algoritmo #1

Merged
PatrickReisSantos merged 10 commits from feature/algoritmo into master 2022-11-02 16:06:18 +00:00
Showing only changes of commit f981cf4b49 - Show all commits

View File

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