diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /JavaScriptCore/tests/mozilla/ecma/Array | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'JavaScriptCore/tests/mozilla/ecma/Array')
-rw-r--r-- | JavaScriptCore/tests/mozilla/ecma/Array/15.4.4.5-3.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/JavaScriptCore/tests/mozilla/ecma/Array/15.4.4.5-3.js b/JavaScriptCore/tests/mozilla/ecma/Array/15.4.4.5-3.js index b27e063..47bbe5d 100644 --- a/JavaScriptCore/tests/mozilla/ecma/Array/15.4.4.5-3.js +++ b/JavaScriptCore/tests/mozilla/ecma/Array/15.4.4.5-3.js @@ -147,7 +147,7 @@ function realsort( x, y ) { return ( x.valueOf() == y.valueOf() ? 0 : ( x.valueOf() > y.valueOf() ? 1 : -1 ) ); } function comparefn3( x, y ) { - return ( x == y ? 0 : ( x > y ? 1: -1 ) ); + return ( +x == +y ? 0 : ( x > y ? 1 : -1 ) ); } function clone( source, target ) { for (i = 0; i < source.length; i++ ) { |