1UnitedPower: Existenz eines localStorage-Wert

Beitrag lesen

Hakuna matata!

folgendes bringt nur Fehlermeldungen :-|

if(!localStorage["anz"])

if("anz" in localStorage)
    if (localStorage.getItem("anz") == null )

  
Kann ich nicht nachvollziehen.  

-- 
“All right, then, I'll go to hell.” – Huck Finn