Debian Codegraph @

js/src/tests/test262/built-ins/NaN/S15.1.1.1_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 NaN is DontEnum
6 es5id: 15.1.1.1_A3.2
7 description: Use for-in statement
8 ---*/
9
10 // CHECK#1
11 for (var prop in this) {
12 assert.notSameValue(prop, "NaN", 'The value of prop is not "NaN"');
13 }
14
15 // TODO: Convert to verifyProperty() format.
16
17 reportCompare(0, 0);