Mintex Tech interview question

Closure in js, Strict type, Higher order function.