Medallia interview question

Javascript Promises, whiteboard coding , also puzzles - more on approach