Answers for "console"

3

console

console.log("%c%s",
            "color: red; background: yellow; font-size: 24px;",
            "WARNING!");
Posted by: Guest on April-18-2021
1

console

console.log('hello')
 
Posted by: Guest on August-13-2021
1

javascript console

console.log('log-message'); // Outputs a normal information log to the console window
console.warn('warn-message'); // Outputs warning in the console window
console.error('error-message'); // Outputs error in the console window
console.table('table-message'); // Outputs a table of all the object properties
Posted by: Guest on December-08-2020
0

console

<script> 
    console.log(x);       // return undefined
    var x="hello js";       
    console.log(x);        // return "hello js" 
</script>
Posted by: Guest on July-10-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language