How to store user input in variable in JavaScript

Published --