try {
new URL("42");
ok(false, "new URL(42) should throw");
} catch (e) {
ok(true, "new URL(42) should throw");
ok(e instanceof TypeError, "error type typeError");
}
try {
new URL("http://www.example.com", "42");
ok(false, "new URL(something, 42) should throw");
} catch (e) {
ok(true, "new URL(something, 42) should throw");
ok(e instanceof TypeError, "error type typeError");
}
</script>
</body>
</html>
Messung V0.5
¤ Dauer der Verarbeitung: 0.13 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.