Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/js/src/jit-test/tests/basic/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 567 B image not shown  

Quellcode-Bibliothek builtin.js   Sprache: JAVA

 

// Copyright (C) 2024 Igalia S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-json.rawjson
description: >
 .rawJSON meets the requirementsfor built-in objects
info: |
  JSON.isRawJSON ( O )

  18 ECMAScript Standard Built-in Objects
  ...
  Unless specified otherwise, a built-in object that is callable as a function
  is a built-n function  withthecharacteristics in..
  Unless specified otherwise, the [[Extensible]] internal slot of a built-in
  object initially has the value true. Every built-in function object has a
  [[Realm]] internal slot whose value is the Realm Record of the realm for
  which the object was initially created.
.
  Unless otherwise specified every built-in function and every built-in
constructor has the  prototype ,which is  initial value of
  the expression Function.prototype (20.2.3), as the value of its [[Prototype]]
  internaljava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  ...
  Built-in function objects that are not identified as constructors do not
  implement the [[Construct]] internal method unless otherwise specified in the
  description of a particular function.

features: [json-parse-with-source]
---*/


assert(Object.isExtensible(JSON.rawJSON), "JSON.rawJSON is extensible");
assert.sameValue(
  typeof JSON.rawJSON,
  'function',
  'The value of `typeof JSON.rawJSON` is "function"'
);

assert.sameValue(
  Object.getPrototypeOf(JSON.rawJSON),
  Function.prototype,
  "Prototype of JSON.rawJSON is Function.prototype"
);

assert.sameValue(
  Object.getOwnPropertyDescriptor(JSON.rawJSON, "prototype"),
  undefined,
  "JSON.rawJSON has no own prototype property"
);

reportCompare(0, 0);

Messung V0.5 in Prozent
C=95 H=100 G=97

¤ 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.0.5Bemerkung:  ¤

*© 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.