Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/js/src/tests/test262/built-ins/JSON/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 688 B image not shown  

Quelle  15.12-0-4.js

  Sprache: JAVA
 

// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: |
    This test should be run without any built-ins being added/augmented.
    The last paragraph in section 15 says "every other property described
    in this section has the attribute {... [[Enumerable]] : false ...}
    unless otherwise specified. This default applies to the properties on
    JSON, and we should not be able to enumerate them.
es5id: 15.12-0-4
description: JSON object's properties must be non enumerable
---*/


var o = JSON;
var i = 0;
for (var p in o) {
  i++;
}


assert.sameValue(i, 0'i');

reportCompare(00);

Messung V0.5 in Prozent
C=88 H=60 G=75

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-06-08) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.