P3 Group interview question

JS Event cycle and how it works