Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/undefined/S15.1.1.3_A4.js

raw
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 info: The undefined is DontEnum
6 es5id: 15.1.1.3_A3.2
7 es6id: 18.1.3
8 esid: sec-undefined
9 description: Use for-in statement
10 ---*/
11
12 // CHECK#1
13 for (var prop in this) {
14 if (prop === "undefined") {
15 $ERROR('#1: The undefined is DontEnum');
16 }
17 }