Firebug Javascript log record
You can use Firebug to generate a log.
This helps us debug web page and found an error page.
Execute the following code in the Firefox browser:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Firefox测试页面 - w3cschool本教程</title> </head> <body> <script type="text/javascript"> var a = "w3cschool"; var b = ".cc"; document.write(a,b); console.log(a + b); </script> </body> </html>
Use Firefox browser to open the above code file firefox-test, execution results and logging are as follows: