test262/test/built-ins/undefined/S15.1.1.3_A3.2.js
André Bargull 10d6e7ce0c Fix strict mode errors in built-ins/{isFinite, isNaN, parseFloat, parseInt, undefined}
- Add missing "var" declarations and noStrict flags
- Remove invalid noStrict flags

Part of issue #35.
2015-04-29 17:43:55 +02:00

16 lines
350 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The undefined is DontEnum
es5id: 15.1.1.3_A3.2
description: Use for-in statement
---*/
// CHECK#1
for (var prop in this) {
if (prop === "undefined") {
$ERROR('#1: The undefined is DontEnum');
}
}