Paul's Javascript Notes
Wednesday, April 10, 2019
How to get input from terminal in javascript
You can try this in chrome's js snippets
var answer = prompt('question', 'defaultAnswer');
console.log('you entered: ' + answer);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment