There was an error while loading. Please reload this page.
Just add the possibility of myCache.get( key, defaultObj ) where it returns defaultObj when key is not found. This is common in key value retrieval, which is simpler than a (if value==undefined) in general.
Just add the possibility of myCache.get( key, defaultObj ) where it returns defaultObj when key is not found. This is common in key value retrieval, which is simpler than a (if value==undefined) in general.