| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,7 +8,7 @@ const checkAnagram = (str1, str2) => { | |||
| 8 | 8 | ||
| 9 | 9 | // If both strings have not same lengths then they can not be anagram. | |
| 10 | 10 | if (str1.length !== str2.length) { | |
| 11 | - return 'Not Anagram' | ||
| 11 | + return 'Not anagrams' | ||
| 12 | 12 | } | |
| 13 | 13 | ||
| 14 | 14 | // Use hashmap to keep count of characters in str1 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments