localstorege retire
setItem(): Add key and value to localStorage.
getItem(): Retrieve a value by the key from localStorage.
removeItem(): Remove an item by key from localStorage.
clear(): Clear all localStorage.
key(): Passed a number to retrieve nth key of a localStorage.
Restu Wahyu Saputra