In a UML sequence diagram, how do I draw the process of creating an array of objects? E.g. (simplest case):
object1.function = function() {
return [new Object2(), new Object2()];
};
I presume that I just add new participants in order (as in the diagram below), is that correct? But is there any way to emphasize that they are elements of an array?
Thanks in advance.

var Object1 = function() {};
var Object2 = function() {};
var object1 = new Object1();
object1.function = function() {
return [new Object2(), new Object2()];
};
alert( object1.function() ); // [object Object],[object Object]