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 执行上下文?
我加载数据并想缓存它,但用户可能会关注链接或提交表单。所以我在加载新页面后丢失了任何 JS 对象?