Created
March 7, 2016 13:54
-
-
Save yonatang/4de24086430b3b85c4c6 to your computer and use it in GitHub Desktop.
Prompt to LocalStorage in Javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var localStorageKey=prompt('Enter your key'); | |
var localStorageValue = prompt('Enter your value'); | |
localStorage[localStorageKey]=localStorageValue; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment