mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
25 lines
674 B
HTML
25 lines
674 B
HTML
<!DOCTYPE HTML>
|
|
<html dir="ltr" xml:lang="en-US" lang="en-US">
|
|
<head>
|
|
<!--
|
|
Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/
|
|
-->
|
|
<meta charset="utf-8">
|
|
<title>console.assert() test</title>
|
|
<script type="text/javascript">
|
|
function test() {
|
|
console.log("start");
|
|
console.assert(false, "false assert");
|
|
console.assert(0, "falsy assert");
|
|
console.assert(true, "true assert");
|
|
console.log("end");
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<p>test console.assert()</p>
|
|
<button onclick="test();">test console.assert()</button>
|
|
</body>
|
|
</html>
|