HTML5 Storage (localStorage)

Anyone has a script on how to store many values within localStorage. An array should would work once the end product is that a user can store new information but calling this function.