Prev Demo
Console.Log() Method In Javascript
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <h1>console.log() method</h1> <p>To activate debugging window in your browswer (Chrome, IE, Firefox) click F12, and select 'Console', there you can find the JavaScript console.log() method value.</p> <script> x = 2; y = 3; z = 4; r = x * y + z // This value gives caluclation as 10 console.log(r); </script> </body> </html>
Note: We DO NOT save your trial code in our database.
Output