![]() if window.localStorage.config is null then JSON.parse returns an error about "u" not being valid (the word "undefined" is not valid JSON apparently :). So I test for null-ness first. |
||
---|---|---|
.. | ||
config.js | ||
index.js | ||
localStorage.js |
![]() if window.localStorage.config is null then JSON.parse returns an error about "u" not being valid (the word "undefined" is not valid JSON apparently :). So I test for null-ness first. |
||
---|---|---|
.. | ||
config.js | ||
index.js | ||
localStorage.js |