I am using Firebug for the first time and when I type
var a = 10;
console.log("value of a: " + a);
the response I get on the console is "undefined".
I suppose the syntax was correct, and I tried using it with alert
and document
. It worked fine, but Firebug isn't showing any output. How can I fix this?
Note: I am talking about Firebug, the extension for Mozilla Firefox, not Firefox's built-in developer tools.
Separate expressions. Based on the screenshot, firefox displays the result of the first expression
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.