Altis Infonet interview question

Asked about event loop, useMemo and array map function.