var nativeToString = ("" + String).replace("String", "EventTarget");
try { var eventTargetToString = "" + EventTarget;
is(eventTargetToString, nativeToString, "Stringifying a DOM interface object should return the same string" + "as stringifying a native function.");
} catch (e) {
ok(false, "Stringifying a DOM interface object shouldn't throw.");
}
try {
eventTargetToString = Function.prototype.toString.call(EventTarget);
is(eventTargetToString, nativeToString, "Stringifying a DOM interface object via Function.prototype.toString " + "should return the same string as stringifying a native function.");
} catch (e) {
ok(false, "Stringifying a DOM interface object shouldn't throw.");
}
</script>
</pre>
</body>
</html>
Messung V0.5
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet)
¤
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.