In my code I am doing a lot of the following:
var store = window.localStorage; var accountID = store.getItem('AccountID'), pageID = store.getItem('PageID'), referenceID = store.getItem('ReferenceID'), topicID = store.getItem('TopicID'); Is there a way I could do this more efficiently. For example could I create an object in Javascript and store / get the whole object at once?