Can i use a Local Storage object to store another Local Storage object ? Thank u in advance
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can store any object in Web Storage, as long as you can stringify it. But you have only one instance of localStorage in your browser, so you don't have to ask if you can do that, because you can't create new instances.