Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Infinity/S15.1.1.2_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 Infinity is DontEnum
6 es5id: 15.1.1.2_A4
7 description: Use for-in statement
8 ---*/
9
10 // CHECK#1
11 for (var prop in this) {
12 if (prop === "Infinity") {
13 $ERROR('#1: The Infinity is DontEnum');
14 }
15 }