How to remove item from localstorage in JavaScript

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