summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/NaN/S15.1.1.1_A4.js
blob: 86a17cc3e87cf22be81741d69e0eba86440ee2dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: The NaN is DontEnum
es5id: 15.1.1.1_A3.2
description: Use for-in statement
---*/

// CHECK#1
for (var prop in this) {
  assert.notSameValue(prop, "NaN", 'The value of prop is not "NaN"');
}

// TODO: Convert to verifyProperty() format.

reportCompare(0, 0);