Permalink
Browse files

v8 sort

  • Loading branch information...
1 parent 8bf24aa commit b31047a12f2f92b656f2d17fc3789fb5bf635955 @erh erh committed Nov 16, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 jstests/geo_sort1.js
View
@@ -17,6 +17,6 @@ a = q.clone().map( m );
b = q.clone().sort( { foo : 1 } ).map( m );
assert.neq( a , b , "A" );
-a = Array.sort( a );
-b = Array.sort( b );
+a.sort();
+b.sort();
assert.eq( a , b , "B" );

0 comments on commit b31047a

Please sign in to comment.