I would like the Array object in Arcade to support functionality like push(). Being able to build lists of values when doing field calculations would be very useful.
Until a more direct solution like push() is incorporated, you can still accomplish what you describe. I regularly use Arcade to build an array for popups and field calculations. When you call an established array of length n, assigning a value to the array at index n + 1 will append the value to the end of the array.
That's really useful to know. I didn't know you could append to an array in that manner. I think this is more about me not knowing the intricacies of javascript!
Thanks for putting me on to this, I can certainly work with this technique.