I need help in the Syntax of this

Yes, you are right. I wonder what put that idea into my head? Thanks for the clarification.

In my defense, the earlier suggestion makes it clearer that we are expecting the array to be modified.