development #11

Merged
luizfelipe9627 merged 20 commits from development into master 2022-11-02 13:01:51 +00:00
Showing only changes of commit 3781d8d204 - Show all commits

View File

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