定义和用法. clear() 方法删除此域的所有Storage 对象项目。 clear() 方法属于Storage 对象,它可以是localStorage 对象,也可以是sessionStorage 对象。
確定! 回上一頁