Print javascript variable value in console

I have a javascript variable that stores some values:

Can I repeat it in firebug or somewhere to see what values ​​are stored.

var p = user.permissions; 

I am using extjs3.

+4
source share
1 answer

Nothing. I had to add this line

 var p = user.permissions; 

Before:

 console.log(p); 

I just typed console.log (p);

+11
source

All Articles