var answer = localStorage.key(1); // this statement will retrieve the value of the second item in localStorage.