Fix typo in query.js
This commit is contained in:
1 parent
655e946406
commit
4c2a81f94e
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user