Skip to content

Commit 9b7ce36

Browse files
committed
update normalize-string.js
1 parent ed9ca65 commit 9b7ce36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils/normalize-string.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ function normalizeString(str) {
1212
throw new Error('Input cannot be null or undefined.');
1313
}
1414

15+
16+
1517
let s = String(str);
1618

1719
s = s.trim();

0 commit comments

Comments
 (0)