If I don't use localStorage:
var employees=new Array();
employees[0]=prompt("New member name?");
This works. However, when I store the variable in localStorage it is not working, the codes I have tried are:
var localStorage[employees] = new Array();
localStorage.employees[0] = prompt("New member name?");
Where am I going wrong?