+ 3
HTML5: Can't figure out this localStorage question
Drag and drop from the options below to clear all values stored in the localStorage. Then store "a" using the key "b". localStorage. _______(); localStorage. setItem(______ , _______ );
2 Answers
+ 6
The answer is simple:
"clear";
"b";
"a".
+ 1
localStorage.clear ();
localStorage.
setItem("b" , "a" );