summaryrefslogtreecommitdiff
path: root/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T3.js')
-rw-r--r--test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T3.js b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T3.js
index dbd5062c7..8d40078e5 100644
--- a/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T3.js
+++ b/test/built-ins/Date/prototype/getUTCFullYear/S15.9.5.11_A1_T3.js
@@ -11,7 +11,7 @@ if (Date.prototype.propertyIsEnumerable('getUTCFullYear')) {
$ERROR('#1: The Date.prototype.getUTCFullYear property has the attribute DontEnum');
}
-for(x in Date.prototype) {
+for(var x in Date.prototype) {
if(x === "getUTCFullYear") {
$ERROR('#2: The Date.prototype.getUTCFullYear has the attribute DontEnum');
}