From 2cf01bdc9fd8ae2c250af96d79069d72b254b3a4 Mon Sep 17 00:00:00 2001 From: danielmoliaribarbosa Date: Fri, 28 Oct 2022 15:12:57 -0300 Subject: [PATCH] =?UTF-8?q?feat(isAnagram):=20Implementa=20fun=C3=A7=C3=A3?= =?UTF-8?q?o=20isAnagram?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 08-isAnagram/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/08-isAnagram/index.js b/08-isAnagram/index.js index 918308a..8bec24f 100644 --- a/08-isAnagram/index.js +++ b/08-isAnagram/index.js @@ -1,4 +1,4 @@ export function isAnagram(word1, word2) { // implementar logica aqui - + return (word1.toLowerCase().split('').sort().join('')) === (word2.toLowerCase().split('').sort().join('')) } \ No newline at end of file -- 2.34.1