📜  检查本地存储是否已使用或为空 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:03:03.543000             🧑  作者: Mango
代码示例1
if (localStorage.length > 0){
//Items are stored in local storage
}else{
//Local storage is empty
}