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

Commit eaeec5d

Browse files
committed
formatting
1 parent 34fa23f commit eaeec5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ function compareTwoStrings(first, second) {
77
first = first.replace(/\s+/g, '')
88
second = second.replace(/\s+/g, '')
99

10-
if (first === second) return 1; // identical or empty
11-
if (first.length < 2 || second.length < 2) return 0; // if either is a 0-letter or 1-letter string
10+
if (first === second) return 1; // identical or empty
11+
if (first.length < 2 || second.length < 2) return 0; // if either is a 0-letter or 1-letter string
1212

1313
let firstBigrams = new Map();
1414
for (let i = 0; i < first.length - 1; i++) {

0 commit comments

Comments
 (0)