Skip to content

Commit a7e26ce

Browse files
committed
fix: drop trailing whitespace
1 parent e03612e commit a7e26ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ times(3)(console.log)
946946
// 3
947947
// 2
948948
// 1
949-
times(-1)(console.log)
949+
times(-1)(console.log)
950950
// RangeError: Maximum call stack size exceeded
951951
```
952952
### Avoiding partial functions
@@ -980,7 +980,7 @@ times(3)(console.log)
980980
// 3
981981
// 2
982982
// 1
983-
times(-1)(console.log)
983+
times(-1)(console.log)
984984
// won't execute anything
985985
```
986986
If you will change all your functions from partial to total, it can prevent you from having runtime exceptions, will make code easier to reason about and easier to maintain.

0 commit comments

Comments
 (0)