Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  marked-atoms.js

  Sprache: JAVA
 

// Test basics of atom marking and check the isAtomMarked function works.

gczeal(0);
let global = newGlobal({newCompartment: true});
global.eval('var x = {}');
gc();

// Make an anonymous symbol and mark it in the global.
let atom = Symbol();
assertEq(isAtomMarked(this, atom), true);
assertEq(isAtomMarked(global, atom), false);
global.x[atom] = 0;
assertEq(isAtomMarked(global, atom), true);

// Make a named symbol (plus an atom for the description) and mark it.
let sym = Symbol("baz");
assertEq(isAtomMarked(this, sym), true);
assertEq(isAtomMarked(global, sym), false);
global.x[sym] = 0;
assertEq(isAtomMarked(global, sym), true);

Messung V0.5 in Prozent
C=89 H=100 G=94

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

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

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002