0
localStorage undefined
If the locaStorage is undefined, how do I make the text (e.g Time Set = undefined) below the button a blank text? Iâve tried using If (typeof Storage !== âundefinedâ){ ........ } else{ document.get......=â â; } as seen in the commented section of the code. https://code.sololearn.com/W9YwkjdDJfj6/?ref=app
2 Respostas
+ 1
Qi Qing Lim On sololearn there is "NO" localstorage and sessionstroage.
+ 1
This article may help đ
https://mathiasbynens.be/notes/localstorage-pattern