diff options
Diffstat (limited to 'test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T3.js')
-rw-r--r-- | test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T3.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T3.js b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T3.js index 25a64b6f2..67abb5e4f 100644 --- a/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T3.js +++ b/test/built-ins/Date/prototype/getFullYear/S15.9.5.10_A3_T3.js @@ -13,7 +13,7 @@ if (Date.prototype.getFullYear.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getFullYear.length property has the attribute DontEnum'); } -for(x in Date.prototype.getFullYear) { +for(var x in Date.prototype.getFullYear) { if(x === "length") { $ERROR('#2: The Date.prototype.getFullYear.length has the attribute DontEnum'); } |