summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Infinity/S15.1.1.2_A4.js
blob: c54ce9e7c11a709fe14d6dff56e803d57d1e0da6 (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 Infinity is DontEnum
es5id: 15.1.1.2_A4
description: Use for-in statement
---*/

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

// TODO: Convert to verifyProperty() format.

reportCompare(0, 0);