LTM Limited Interview Question

Explaining javascript concepts and predicting output for promises and settimeout