Skip to content

Commit 6247305

Browse files
committed
update 10 files
1 parent 12926c2 commit 6247305

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

src/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
* @param {number} b The second number.
55
* @returns {number} The sum of the two numbers.
66
*/
7-
function add(a, b) {
8-
9-
10-
return a + b;
7+
function add(a, b) {
8+
return a + b;
119
}
1210

1311
module.exports = add;

src/utils/normalize-string.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@
1010
function normalizeString(str) {
1111
if (str === null || str === undefined) {
1212
throw new Error('Input cannot be null or undefined.');
13-
}
14-
15-
16-
17-
18-
13+
}
1914

2015
let s = String(str);
2116

0 commit comments

Comments
 (0)