Stefanini interview question

Basic JavaScript Question