haikuwebkit/LayoutTests/js/dom/console-non-string-values.html

15 lines
371 B
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
debug('Should see two console messages, the first a string, and the second a number.');
window.console.log('I am a string');
window.console.log(42);
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>