Bug in Append For Each interaction?

load( local!arrayOne, local!arrayTwo: a!forEach( items: enumerate(10), expression: append( local!arrayOne, fv!item ) ), local!arrayTwo )

Could anyone tell me what they expect the values of these two variables are?

I want to check if this is expected behavior, if this is expected use of the functions, and if this is a risk to the code.

 

Please don't feel the need to tell me how to correctly do this, I've just identified this form of loop in some code and I want to evaluate if this needs to be corrected as it is dependent on a bug that might be fixed.

  Discussion posts and replies are publicly visible