diff options
Diffstat (limited to 'test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T3.js')
-rw-r--r-- | test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T3.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T3.js b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T3.js index b865982d9..ce8d695ea 100644 --- a/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T3.js +++ b/test/built-ins/Date/prototype/valueOf/S15.9.5.8_A1_T3.js @@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('valueOf')) { $ERROR('#1: The Date.prototype.valueOf property has the attribute DontEnum'); } -for(x in Date.prototype) { +for(var x in Date.prototype) { if(x === "valueOf") { $ERROR('#2: The Date.prototype.valueOf has the attribute DontEnum'); } |