Hola interview question

Minify a function