Looking at the code block below, after a single update the results are as follows:
intReturn = 0
inputArrayReturn = 1
in