EY interview question

Complete work process of how javascript works