Drag and drop from the options below to clear all values stored in the localStorage. Then store "a" using the key "b". | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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(___,___);

11th Jun 2018, 6:40 PM
SUSHIL
SUSHIL - avatar
8 Answers
+ 4
localStorage.clear(); localStorage. setItem("b","a");
6th May 2020, 8:13 PM
Emmanuel De Jesús García Fortuna
Emmanuel De Jesús García Fortuna - avatar
+ 2
localStorage.clear(); localStorage. setItem("b","a");
11th Jun 2018, 6:47 PM
Sudarshan Rai
Sudarshan Rai - avatar
0
Thank you!
26th Jun 2018, 8:46 PM
Małgorzata Janowska-Kaczmarek
Małgorzata Janowska-Kaczmarek - avatar
0
localStorage.clear(); localStorage. setItem("b","a");
12th Jan 2019, 11:58 AM
Agunsoye Israel
Agunsoye Israel - avatar
0
What is the answer to this, to clear all values stored in the Then store "a" using the key "b"
22nd Dec 2019, 10:29 AM
Zubair
Zubair - avatar
0
Clear B A
14th Nov 2020, 4:28 AM
JaKayla Eaddy
0
B and a
21st Nov 2021, 1:55 PM
Ozodbek
0
clear b a
12th Aug 2022, 2:42 PM
MD NEZAMUL ISLAM
MD NEZAMUL ISLAM - avatar