var v = {
'variable_1':'123',
'variable_2':'246',
'variable_3':'3.1415'
};
// You can add variables like this:
v['var_name' + random_id] = 'whatever';
// You access the variables like this:
var var_1 = v.variable_1;
var var_rnd = v['var_name' + random_id];
|