From d56e750cb0a68a9581d6c0c9f23b2455a60f406f Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Sat, 23 Jun 2018 16:36:25 +0300 Subject: [PATCH] Update matchesWith.md --- snippets/matchesWith.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/matchesWith.md b/snippets/matchesWith.md index ba47ce63a..a04814191 100644 --- a/snippets/matchesWith.md +++ b/snippets/matchesWith.md @@ -11,7 +11,7 @@ const matchesWith = (obj, source, fn) => key => obj.hasOwnProperty(key) && fn ? fn(obj[key], source[key], key, obj, source) - : obj[key] === source[key] + : obj[key] == source[key] ); ```