summaryrefslogtreecommitdiff
path: root/jstests/core/nestedarr1.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/nestedarr1.js')
-rw-r--r--jstests/core/nestedarr1.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/jstests/core/nestedarr1.js b/jstests/core/nestedarr1.js
index 98ddc2193ea..720c1c27821 100644
--- a/jstests/core/nestedarr1.js
+++ b/jstests/core/nestedarr1.js
@@ -3,13 +3,9 @@
function makeNestArr(depth) {
if (depth == 1) {
- return {
- a: [depth]
- };
+ return {a: [depth]};
} else {
- return {
- a: [makeNestArr(depth - 1)]
- };
+ return {a: [makeNestArr(depth - 1)]};
}
}