Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/rust/tokio/src/util/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  S9.2_A1_T1.js   Sprache: unbekannt

 
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: Result of boolean conversion from undefined value is false
esid: sec-toboolean
description: >
    Undefined, void and others are converted to Boolean by explicit
    transformation
---*/


assert.sameValue(Boolean(undefined), false'Boolean(undefined) must return false');
assert.sameValue(Boolean(void 0), false'Boolean(void 0) must return false');
assert.sameValue(Boolean(eval("var x")), false'Boolean(eval("var x")) must return false');
assert.sameValue(Boolean(), false'Boolean() must return false');

reportCompare(0, 0);

Messung V0.5
C=98 H=100 G=98

[ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet)  ]