let localStorageObject = {}; // 创建一个空对象
for (let i = 0; i < localStorage.length; i++) {
const key = localStorage.key(i); // 获取第 i 个项的键名
const value = localStorage.getItem(key); // 根据键名获取对应的值
localStorageObject[key] = value; // 将键值对添加到对象中
}
copy(localStorageObject);
previouslyViewedFiles
sourcesSearchConfig
xhrBreakpoints
breakpointConditionHistory
consolePins
domBreakpoints
experiments
searchAsYouType
watchExpressions
breakpoints
networkSearchConfig
locallnspectorVersion
consoleHistory