diff options
Diffstat (limited to 'test/built-ins/Array/prototype/toLocaleString/S15.4.4.3_A3_T1.js')
-rw-r--r-- | test/built-ins/Array/prototype/toLocaleString/S15.4.4.3_A3_T1.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/built-ins/Array/prototype/toLocaleString/S15.4.4.3_A3_T1.js b/test/built-ins/Array/prototype/toLocaleString/S15.4.4.3_A3_T1.js index 7bf7a44d5..fd32d7702 100644 --- a/test/built-ins/Array/prototype/toLocaleString/S15.4.4.3_A3_T1.js +++ b/test/built-ins/Array/prototype/toLocaleString/S15.4.4.3_A3_T1.js @@ -10,11 +10,7 @@ description: "[[Prototype]] of Array instance is Array.prototype" //CHECK#1 var n = 0; -var obj = { - toLocaleString: function() { - n++ - } -}; +var obj = {toLocaleString: function() {n++}}; Array.prototype[1] = obj; var x = [obj]; x.length = 2; |