Articles → JavaScript → Console.Log In Javascript
Console.Log In Javascript
Purpose
 
Example
 
<script>
 console.log("Test");
 document.write("test1");
</script>
Try It
Javascript Console
 
- Open the Chrome browser.
- Press the F12 key on the keyboard.
- Go to the Console tab.
- Write the code console.log(‘test’).
- Press the Enter key.
Output
 
| Posted By  - | Karan Gupta | 
|  | 
| Posted On  - | Friday, March 17, 2017 |