How to get item from localstorage in JavaScript

Storage
Last updated Dec 19, 2017
localStorage.getItem("name");