Skip to content

Commit a037f0e

Browse files
authored
Add missing function call to "no side effects"
1 parent 2564bae commit a037f0e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,8 @@ function splitIntoFirstAndLastName() {
548548
name = name.split(' ');
549549
}
550550

551+
splitIntoFirstAndLastName();
552+
551553
console.log(name); // ['Ryan', 'McDermott'];
552554
```
553555

0 commit comments

Comments
 (0)