there are two ways to do that.
1.
var arr = [<%=yourarray %>];
2.
-------------------------------------------------
ServerSide script
-------------------------------------------------
Public mAddressList As String
Dim builder As StringBuilder = New StringBuilder()
Dim first As Boolean = True
For Each item As SurveyorInfo In mSurveyorList
If first Then
first = False
Else
builder.Append(","C)
End If
builder.Append("'"C).Append(item.Address.Replace(" \","\\").Replace("'","\'")).Append("'"C)
Next
mAddressList = builder.ToString()
-------------------------------------------------
ClientSide script
--------------------------------------------------
var addressString = [<%=mAddressList%>];
for (x=0; x<addressString.length; x++) {
map.Find(null, addressString[x], null, null, 0, 10, true, true, true, true, callback);
}