Can any object be stored in a DOM Storage?
When I do the following:
// where val is a string and response is an array of objects.
sessionStorage.results= { val: response };
When I inspect value of sessionStorage.results
I get "[object Object]"
Can I store objects like that? Or does Storage only stores strings?