I have a JavaScript variable that is storing some values.
Can I echo it in Firebug or somewhere to see what values are being stored?
var p = user.permissions;
Never mind. I had to add this line
var p = user.permissions;
Before:
console.log(p);
I was just typing console.log(p);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With