When using Rhino or RingoJS, one can use print
on the console REPL to print output (alert
is not available).
What can be used to read user input on the console, instead of prompt
?
Is there somewhere I can find information on these conventions, what APIs are available in Rhino and/or RingoJS, or is there a CommonJS guide they are adhering to?