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] ); ```