Skip to content
This repository was archived by the owner on May 1, 2023. It is now read-only.

Commit 24b3fb1

Browse files
committed
removed unused function isEdgeCaseWithOneOrZeroChars
1 parent 53bb902 commit 24b3fb1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

compare-strings.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,6 @@ function compareTwoStrings(str1, str2) {
5454
return _flattenDeep(_map(str.split(' '), letterPairs));
5555
}
5656

57-
function isEdgeCaseWithOneOrZeroChars(str1, str2) {
58-
if (str1.length == str2.length && str1.length == 1) {
59-
return true;
60-
}
61-
return false;
62-
}
63-
6457
function calculateResultIfIdentical(str1, str2) {
6558
if (str1.toUpperCase() == str2.toUpperCase()) {
6659
return 1;

0 commit comments

Comments
 (0)