ezDI interview question

How JavaScript code gets executed?