summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2021-10-11 14:41:11 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-11 15:26:37 +0000
commit192819354da872be695c816a9d7823c878cebd88 (patch)
tree0d1b2aeb106c6289b4a8a14ff9e6ab05d202bad4 /src
parent8076483b5f8b942507ed1dcfb2c4a64b303c1cf5 (diff)
downloadmongo-192819354da872be695c816a9d7823c878cebd88.tar.gz
SERVER-31551 Test server-side JS property enumeration
Diffstat (limited to 'src')
-rw-r--r--src/mongo/scripting/mozjs/mongohelpers.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/scripting/mozjs/mongohelpers.js b/src/mongo/scripting/mozjs/mongohelpers.js
index c8edfb23ca6..5983638d316 100644
--- a/src/mongo/scripting/mozjs/mongohelpers.js
+++ b/src/mongo/scripting/mozjs/mongohelpers.js
@@ -76,6 +76,7 @@ exportToMongoHelpers = {
var lines = fnSrc.split('\n');
var col = loc.column;
var fnSrc;
+ var tmpTree;
var origLine = lines[loc.line - 1];
// The parser has a weird behavior where sometimes if you have an expression like