Can i use a Local Storage object to store another Local Storage object ? Thank u in advance
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
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.