From 35cd6bbc24564f9d80e39e590c969d7e709a95db Mon Sep 17 00:00:00 2001 From: Philipp Lypniakov Date: Sat, 24 Jul 2021 19:05:35 +0300 Subject: [PATCH] fix: fix match reference --- exercises/ch04/exercise_b.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/ch04/exercise_b.js b/exercises/ch04/exercise_b.js index 2e0a01e8..3de354dc 100644 --- a/exercises/ch04/exercise_b.js +++ b/exercises/ch04/exercise_b.js @@ -1,4 +1,4 @@ // Refactor to remove all arguments by partially applying the functions. // filterQs :: [String] -> [String] -const filterQs = xs => filter(x => x.match(/q/i), xs); +// const filterQs = xs => filter(x => match(/q/i, x), xs);