From a7e26ce75613a24e6278e66f9369ce5a42030ed4 Mon Sep 17 00:00:00 2001 From: Rea Sand Date: Thu, 18 Oct 2018 11:59:54 +0200 Subject: [PATCH] fix: drop trailing whitespace --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 943a8d5..6531c19 100644 --- a/readme.md +++ b/readme.md @@ -946,7 +946,7 @@ times(3)(console.log) // 3 // 2 // 1 -times(-1)(console.log) +times(-1)(console.log) // RangeError: Maximum call stack size exceeded ``` ### Avoiding partial functions @@ -980,7 +980,7 @@ times(3)(console.log) // 3 // 2 // 1 -times(-1)(console.log) +times(-1)(console.log) // won't execute anything ``` 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.