summaryrefslogtreecommitdiff
path: root/jstests/aggregation/bugs/server6125.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/aggregation/bugs/server6125.js')
-rw-r--r--jstests/aggregation/bugs/server6125.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/jstests/aggregation/bugs/server6125.js b/jstests/aggregation/bugs/server6125.js
index 746c191d8fe..bfc4f471318 100644
--- a/jstests/aggregation/bugs/server6125.js
+++ b/jstests/aggregation/bugs/server6125.js
@@ -10,9 +10,7 @@
// to make results array nested (problem 2)
function nestArray(nstArray) {
for (x = 0; x < nstArray.length; x++) {
- nstArray[x].a = {
- b: nstArray[x].a
- };
+ nstArray[x].a = {b: nstArray[x].a};
}
}