Index: test/mjsunit/regress/regress-swapelements.js |
=================================================================== |
--- test/mjsunit/regress/regress-swapelements.js (revision 6020) |
+++ test/mjsunit/regress/regress-swapelements.js (working copy) |
@@ -29,7 +29,7 @@ |
// http://code.google.com/p/chromium/issues/detail?id=66099. |
function Item(val) { |
- this.value = val; |
+ this.value = val; |
} |
@@ -38,17 +38,17 @@ |
function myToString() { |
- array1.splice(0, 1); |
- return this.value.toString(); |
+ array1.splice(0, 1); |
+ return this.value.toString(); |
} |
function test() { |
- for (var i = 0; i < size; i++) { |
- array1[i] = new Item(i); |
- array1[i].toString = myToString; |
- } |
- array1.sort(); |
+ for (var i = 0; i < size; i++) { |
+ array1[i] = new Item(i); |
+ array1[i].toString = myToString; |
+ } |
+ array1.sort(); |
} |