mirror of
https://github.com/tc39/test262.git
synced 2025-08-28 13:28:38 +02:00
18 lines
378 B
JavaScript
18 lines
378 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/**
|
|
* The undefined is DontEnum
|
|
*
|
|
* @path ch15/15.1/15.1.1/15.1.1.3/S15.1.1.3_A3.2.js
|
|
* @description Use for-in statement
|
|
*/
|
|
|
|
// CHECK#1
|
|
for (prop in this) {
|
|
if (prop === "undefined") {
|
|
$ERROR('#1: The undefined is DontEnum');
|
|
}
|
|
}
|
|
|