How to get item from localstorage in JavaScript

Storage
By Jad Joubran · 
Last updated Dec 19, 2017
localStorage.getItem("name");