We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7443baa commit 2a57053Copy full SHA for 2a57053
1 file changed
src/jsonpath.js
@@ -58,7 +58,10 @@ const vm = JSONPath.nodeVMSupported
58
moveToAnotherArray(keys, funcs, (key) => {
59
return typeof context[key] === 'function';
60
});
61
- const values = Object.values(context);
+ const values = keys.map((vr, i) => {
62
+ return context[vr];
63
+ });
64
+
65
const funcString = funcs.reduce((s, func) => {
66
let fString = context[func].toString();
67
if (!(/function/u).exec(fString)) {
0 commit comments