let fruits = [
{ name: 'apple', color: 'red', number: 1 },
{ name: 'orange', color: 'orange', number: 2 }
]
localStorage.setItem("saved_fruits", JSON.parse(JSON.stringify(fruits)));
function set(){
var sendJSON = JSON.stringify(allMovie);
localStorage.setItem('allMovie',sendJSON)
}
function get(){
var getJSON = localStorage.getItem('allMovie');
if (getJSON){
allMovie = JSON.parse(getJSON)
}
}
function populateStorage() {
localStorage.setItem('bgcolor', 'red');
localStorage.setItem('font', 'Helvetica');
localStorage.setItem('image', 'myCat.png');
}
localStorage.setItem('bgcolor', 'red');
storage.setItem(keyName, keyValue);
localStorage