Tech Mahindra interview question

Javascript and Node js basic questions.