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

Commit

Permalink
removed unused function isEdgeCaseWithOneOrZeroChars
Browse files Browse the repository at this point in the history
  • Loading branch information
aceakash committed Sep 12, 2018
1 parent 53bb902 commit 24b3fb1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions compare-strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ function compareTwoStrings(str1, str2) {
return _flattenDeep(_map(str.split(' '), letterPairs));
}

function isEdgeCaseWithOneOrZeroChars(str1, str2) {
if (str1.length == str2.length && str1.length == 1) {
return true;
}
return false;
}

function calculateResultIfIdentical(str1, str2) {
if (str1.toUpperCase() == str2.toUpperCase()) {
return 1;
Expand Down

0 comments on commit 24b3fb1

Please sign in to comment.