From 4c2a81f94e14fd3998131f5b249c8bea99087027 Mon Sep 17 00:00:00 2001 From: Tural Kaptan <46442829+tkaptan@users.noreply.github.com> Date: Mon, 25 Feb 2019 23:18:22 +0300 Subject: [PATCH] Fix typo in query.js --- lib/query.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/query.js b/lib/query.js index 366c7a3..8abd9f5 100644 --- a/lib/query.js +++ b/lib/query.js @@ -56,7 +56,7 @@ function normalize(input) { function expandValue(value) { if (common.typeOf(value) === common.ARRAY_TYPE) { let a = []; - for (const j of value) a = a.conact(expandValue(j)); + for (const j of value) a = a.concat(expandValue(j)); return [a]; } else if (common.typeOf(value) !== common.OBJECT_TYPE) { const n = normalize(value);