Fix typo in query.js

This commit is contained in:
Tural Kaptan authored and Zaid Abdulla committed 2019-03-04 21:00:27 -08:00
1 parent 655e946406
commit 4c2a81f94e
1 file changed
+1 -1
+1 -1
View File
@@ -56,7 +56,7 @@ function normalize(input) {
function expandValue(value) { function expandValue(value) {
if (common.typeOf(value) === common.ARRAY_TYPE) { if (common.typeOf(value) === common.ARRAY_TYPE) {
let a = []; let a = [];
for (const j of value) a = a.conact(expandValue(j)); for (const j of value) a = a.concat(expandValue(j));
return [a]; return [a];
} else if (common.typeOf(value) !== common.OBJECT_TYPE) { } else if (common.typeOf(value) !== common.OBJECT_TYPE) {
const n = normalize(value); const n = normalize(value);