about summary refs log tree commit diff stats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/match.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/match.js b/js/match.js
index ae13124..dba12e1 100644
--- a/js/match.js
+++ b/js/match.js
@@ -33,8 +33,8 @@ const matchObject = (value, ...patterns) => {
             let isMatch = true;
             for (let key in pattern) {
                 if (pattern[key] !== value[key]) {
-                isMatch = false;
-                break;
+                    isMatch = false;
+                    break;
                 }
             }
             if (isMatch) return action(value);