Itransition interview question

mostly involving raw javascript including topics such as promises, scope, closure, async operations etc.