Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个存储一些值的 JavaScript 变量。
我可以在 Firebug 或其他地方回显它以查看正在存储的值吗?
var p = user.permissions;
没关系。我不得不添加这一行
前:
console.log(p);
我只是在输入 console.log(p);