Created by: PatrickJS
if you get an invalid value JSON.parse throws an error
localcache = { 'yolo': undefined // should be "{swag: true, isAuthenticated: true}" };
store.get('yolo') // JSON.parse error is thrown
localcache
Created by: PatrickJS
if you get an invalid value JSON.parse throws an error
localcache = { 'yolo': undefined // should be "{swag: true, isAuthenticated: true}" };
store.get('yolo') // JSON.parse error is thrown
localcache