📜  localstorage js - Javascript 代码示例

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

代码示例6
// Set
localStorage.setItem('monChat', 'Tom');

// Get
localStorage.getItem('myCat');

// Remove
localStorage.removeItem('myCat');