summaryrefslogtreecommitdiff
path: root/jstests/core/array3.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/array3.js')
-rw-r--r--jstests/core/array3.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/jstests/core/array3.js b/jstests/core/array3.js
index 3d053f99417..8b024bd3a0c 100644
--- a/jstests/core/array3.js
+++ b/jstests/core/array3.js
@@ -1,8 +1,8 @@
-assert.eq( 5 , Array.sum( [ 1 , 4 ] ), "A" )
-assert.eq( 2.5 , Array.avg( [ 1 , 4 ] ), "B" )
+assert.eq( 5 , Array.sum( [ 1 , 4 ] ), "A" );
+assert.eq( 2.5 , Array.avg( [ 1 , 4 ] ), "B" );
-arr = [ 2 , 4 , 4 , 4 , 5 , 5 , 7 , 9 ]
-assert.eq( 5 , Array.avg( arr ) , "C" )
-assert.eq( 2 , Array.stdDev( arr ) , "D" )
+arr = [ 2 , 4 , 4 , 4 , 5 , 5 , 7 , 9 ];
+assert.eq( 5 , Array.avg( arr ) , "C" );
+assert.eq( 2 , Array.stdDev( arr ) , "D" );