mirror of
https://github.com/tc39/test262.git
synced 2025-08-28 13:28:38 +02:00
18 lines
460 B
JavaScript
18 lines
460 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/**
|
|
* A property can have attribute DontEnum like all properties of Number
|
|
*
|
|
* @path ch08/8.6/8.6.1/S8.6.1_A2.js
|
|
* @description Try to enumerate properties of Number
|
|
*/
|
|
|
|
//CHECK#1
|
|
var count=0;
|
|
for (p in Number) count++;
|
|
if (count > 0){
|
|
$ERROR('#1: count=0; for (p in Number) count++; count > 0. Actual: ' + (count));
|
|
}
|
|
|