You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: