We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 962176a commit e156fe3Copy full SHA for e156fe3
String/CheckAnagram.js
@@ -8,7 +8,7 @@ const checkAnagram = (str1, str2) => {
8
9
// If both strings have not same lengths then they can not be anagram.
10
if (str1.length !== str2.length) {
11
- return 'Not Anagram'
+ return 'Not anagrams'
12
}
13
14
// Use hashmap to keep count of characters in str1
0 commit comments