Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/tools/lint/test/files/clippy/test2/src/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 297 B image not shown  

Quelle  name.js   Sprache: unbekannt

 
// Copyright (C) 2015 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es6id: 20.2.2.10
description: >
  Math.ceil.name is "ceil".
info: |
  Math.ceil ( x )

  17 ECMAScript Standard Built-in Objects:
    Every built-in Function object, including constructors, that is not
    identified as an anonymous function has a name property whose value
    is a String.

    Unless otherwise specified, the name property of a built-in Function
    object, if it exists, has the attributes { [[Writable]]: false,
    [[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
---*/


verifyProperty(Math.ceil, "name", {
  value: "ceil",
  writable: false,
  enumerable: false,
  configurable: true
});

reportCompare(0, 0);

Messung V0.5
C=94 H=88 G=90

[ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet)  ]