5,798
edits
No edit summary |
No edit summary |
||
Line 556: | Line 556: | ||
function getItem(key) { | function getItem(key) { | ||
let keydata = localStorage.getItem(key); | let keydata = localStorage.getItem(key); | ||
if (keydata == "undefined") return undefined; | if (keydata == "undefined") { | ||
return undefined; | |||
} | |||
return keydata; | return keydata; | ||
} | } |