The console is not defined

Why is this:

jQuery(document).ready(function($) {
    console.log("test");
});

display this error message: console not defined

In Firefox 3.5.6 for Windows XP?

+3
source share
2 answers

What version of Firebug are you using? I had the same issue with version 1.4.5 on Firefox 3.5.6 on macOS. What I did, I installed the latest beta from http://getfirebug.com/releases/firebug/1.5X/

After that, he did a great job.

+3
source

The Firebug extension defines a console object in Firefox. It must be installed or there will be a JS error.

+7
source

Source: https://habr.com/ru/post/1726839/


All Articles