Having an asynchronous issue with my JavaScript code when using a timeout with Node.js
So the purpose of the code is to import JSON questions and read them to the user in the terminal. The user gets 5 seconds to answer the question until the next question is displayed. The issue I am running…