Fill in the blanks to clear all values stored in the localStorage. Then store "a" using the key "b". | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Fill in the blanks to clear all values stored in the localStorage. Then store "a" using the key "b".

Fill in the blanks to clear all values stored in the localStorage. Then store "a" using the key "b". localStorage.____(); localStorage. setItem(___,____); Option

11th Jan 2017, 4:55 AM
manoj mer
manoj mer - avatar
2 Respuestas
+ 2
This is what I found to work. *********************************** localStorage.clear() localStorage.setItem("b","a"); ***********************************
23rd Sep 2017, 1:17 AM
Dustin Frost
Dustin Frost - avatar
0
localStorage.clear(); localStorage. setItem(a,b);
1st May 2017, 4:39 PM
Anmol kumar
Anmol kumar - avatar