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?


< Eric's Blog Home


©1998-2024 Eric Lawrence