Initially, the interviewer asked some javascript output questions then hoisting in javascript. Then he asked to write code for flattening of objects in javascript recursively and also write the code for javascript closure.
Check out your Company Bowl for anonymous work chats.