Your first example is missing a quote, but after fixing that, both versions
work for me.
Dan
Sent: Friday, March 16, 2012 2:18 PM
Subject: [AE] Use condensed arrays?
I
was trying to use a condensed array in AE (on a text layer's source text), but
it kept throwing an error. Does anyone know why this was throwing an error?
var temp = new
Array("test,"test2");
var temp = ["test","test2"]
Instead I had to break it out into separate arguments like this. Why does
it need that?