Bee Logical interview question

JavaScript event loop and object manipulation questions.