Use readline-sync instead. Readline is asynchronous, meaning it will trigger a function on input instead of trigger an input instance.
確定! 回上一頁