get values frm consle in js code example
Example: javascript console input
//SpiderMonkey
var input = readline();
//Vanilla javascript
var input = prompt("Enter input:");
//SpiderMonkey
var input = readline();
//Vanilla javascript
var input = prompt("Enter input:");