I want to explicitly select multiple layers (by reference, not by name or anything else involving re-searching something I already have a reference to!) and merge them in Adobe's Javascript (aka. Extendscript).
I can set the document's activeLayer, but it won't take an array of layers.