How do I get console input in spidermonkey JavaScript? February 16, 2023 by Tarik Good old readline();. See MDN (archive).