App.selection limit

In ExtendScript for Adobe Illustrator, you can select all objects in an array in a document by assigning an app.selection collection.