透過在 getItem() 方法中輸入屬性的 key ,我們可以得到 storage 物件對應的屬性 value 。 ... getItem('item'))); console.log(JSON.parse(localStorage.
確定! 回上一頁