diff options
Diffstat (limited to 'test/built-ins/String/prototype/charAt/S15.5.4.4_A1_T9.js')
-rw-r--r-- | test/built-ins/String/prototype/charAt/S15.5.4.4_A1_T9.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/String/prototype/charAt/S15.5.4.4_A1_T9.js b/test/built-ins/String/prototype/charAt/S15.5.4.4_A1_T9.js index 6137d3e04..46f5c6d60 100644 --- a/test/built-ins/String/prototype/charAt/S15.5.4.4_A1_T9.js +++ b/test/built-ins/String/prototype/charAt/S15.5.4.4_A1_T9.js @@ -12,8 +12,8 @@ description: > ////////////////////////////////////////////////////////////////////////////// //CHECK#1 //since ToInteger(undefined) evaluates to 0 charAt() evaluates to charAt(0) -if (new String(42).charAt(function(){}()) !== "4") { - $ERROR('#1: new String(42).charAt(function(){}()) === "4". Actual: new String(42).charAt(function(){}()) ==='+new String(42).charAt(function(){}()) ); +if (new String(42).charAt(function() {}()) !== "4") { + $ERROR('#1: new String(42).charAt(function(){}()) === "4". Actual: new String(42).charAt(function(){}()) ===' + new String(42).charAt(function() {}())); } // ////////////////////////////////////////////////////////////////////////////// |