Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  S7.4_A2_T1.js

  Sprache: JAVA
 

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

/*---
info: Correct interpretation of multi line comments
es5id: 7.4_A2_T1
description: Create comments with any code
---*/


/*CHECK#1*/
/* Test262Error.thrower('#1: Correct interpretation multi line comments');
*/


/*CHECK#2*/
var x = 0;
/* x = 1;*/
assert.sameValue(x, 0'The value of `x` is 0');

//CHECK#3
var /* y = 1;*/
y;
assert.sameValue(y, undefined, 'The value of `y` is expected to equal `undefined`');

//CHECK#4
var /* y = 1;*/ y;
assert.sameValue(y, undefined, 'The value of `y` is expected to equal `undefined`');

/*CHECK#5*/
/*var x = 1;
if (x === 1) {
  Test262Error.thrower('#5: Correct interpretation multi line comments');
}
*/


/*CHECK#6*/
/*var this.y = 1;*/
this.y++;
assert.sameValue(isNaN(y), true'isNaN(y) returns true');

//CHECK#7
var string = "/*var y = 0*/" /* y = 1;*/ 
assert.sameValue(string, "/*var y = 0*/", 'The value of `string` is "/*var y = 0*/"');

//CHECK#8
var string = "/*var y = 0" /* y = 1;*/ 
assert.sameValue(string, "/*var y = 0", 'The value of `string` is "/*var y = 0"');

/*CHECK#9*/
/** Test262Error.thrower('#9: Correct interpretation multi line comments');
*/


/*CHECK#10*/
/* Test262Error.thrower('#10: Correct interpretation multi line comments');
**/


/*CHECK#11*/
/****** Test262Error.thrower('#11: Correct interpretation multi line comments');*********
***********
*


**********
**/


reportCompare(00);

Messung V0.5 in Prozent
C=93 H=94 G=93

¤ Dauer der Verarbeitung: 0.15 Sekunden  (vorverarbeitet am  2026-06-07) ¤

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






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik