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,我一直在玩它并在网上搜索,但我找不到答案。
您必须在页面上有一个脚本,然后在 firebug 中打开脚本并在其中一行设置断点,然后刷新页面。然后,您应该会在右侧看到所有变量的列表。