Google Chrome Console tutorial in JavaScript

 <!DOCTYPE html>

<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Google Chrome Console</title>
    <script>
        var x = 50;
        console.time("Test");
        console.log(x);
        console.log([1, 2, 3]);
        console.table([10, 20, 30]);
        console.error("Something went wrong.");
        console.warn("This is just warn.");
        console.timeEnd("Test");
        // console.clear();
    </script>
</head>

<body>
    <h1 id="main">Google Chrome <span>Console</span></h1>
</body>

</html>



Comments

Popular posts from this blog

Generators tutorial in Advance JavaScript

Document Object Module DOM querySelector and querySelectorAll tutorial in JavaScript

Find Even and Odd Numbers with Loops tutorial in JavaScript