Smart Ship Hub interview question

Project , Previous Internship , focus on Javascript, have to write code on async await, try catch