summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/test/test-console-assert.html
blob: b104d72d43507cc66479332de4311554ac0771d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!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>
  </body>
</html>