问题
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.
来源:https://stackoverflow.com/questions/10269334/data-supported-by-html5-local-storage