Create variable from loop array

I have array array = [t1,t2,t3 ...]

How to create variable from this array like var t1
var t2;
var t3;
or add string to variable like: variable_t1, variable_t2 ect

Or to loop through the array: