Tesco interview question

Explain javascript event loop and how push and pop is iplemented