Pexip interview question

Closures, types etc.