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

Quelle  is-constructor.js   Sprache: JAVA

 
// Copyright (C) 2020 Alexey Shvayka. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-symbol-constructor
description: >
  Symbol is a constructor and has [[Construct]] internal method.
info: |
  The Symbol constructor:
  [...]
  * may be used as the value of an extends clause of a class definition
  but a super call to it will cause an exception.
  [...]
  * has a [[Prototype]] internal slot whose value is %Function.prototype%.
includes: [isConstructor.js]
features: [Symbol, Reflect.construct]
---*/


assert(isConstructor(Symbol));
assert.sameValue(Object.getPrototypeOf(Symbol), Function.prototype);

reportCompare(0, 0);

Messung V0.5
C=96 H=93 G=94

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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.