Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
jStorage如何使用API迭代存储在 localStorage 中的密钥集合?
jStorage
$.jStorage.index()
以数组形式返回当前使用的所有键。
var index = $.jStorage.index(); console.log(index); // ["key1","key2","key3"]