TD interview question

Mutating arrays, functions,...