Reliance Money interview question

promise closure event loop let var const max number in an array