Is there any way to eval a string into an array

Hey guys first post here, stuck on a bit of code, trying to transition a program over from JS to AS2 flashlite 3.1

So here’s the deal, I have a response coming in from a server that contains a ton of strings that I need to eval to have them replace arrays already set as globals.

so program fetches response, evals string into an array, and then we do stuff with the array.

I’ve played around with little tests and can’t get it working. This is a dumbed down version of what I need to happen.

var superArray= new Array(‘3’,‘4’);
var testArray=“superArray=[‘1’,‘2’]”;

function testEval() {

eval(testArray);
trace(superArray);

}//end

testEval();