📌  相关文章
📜  Javascript 存储在 localStorage - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:58.838000             🧑  作者: Mango

代码示例3
localStorage.setItem(key, val);
var val = localStorage.getItem(key);
localStorage.removeItem(key);
localStorage.clear();