Saturday, September 7, 2024
🖉
Blog
Resume / Writing
Info
Post
email
Is there any reason to ever do this?
3/30/2016 11:10:00 AM
function getAnswersListFromStorage() {
var saved = localStorage.getItem('__keyName__');
if (!saved || saved === '') // <-- why is the second test needed?
+ Comment
< Eric's Blog Home
©1998-2024 Eric Lawrence