blob: 7a337afc2a9560d814f7c21f445ec7ba7a94d331 (
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 undefined is DontEnum
esid: sec-undefined
description: Use for-in statement
---*/
// CHECK#1
for (var prop in this) {
if (prop === "undefined") {
throw new Test262Error('#1: The undefined is DontEnum');
}
}
reportCompare(0, 0);
|