Hi all,
I have a simple question ,
If I have this variable:
var template={
range : "54" ,
matrix1 : { 'a' , 'b' , 'c' },
matrix2 : { 1 , 2 , 3 , 4 }
};
and I have three options of it,such as:
template1={
range : "32" ,
matrix1 : { 'b' , 'd' , 's' } ,
matrix2 : { 4 , 5 , 2 , 6 }
};
template2={
range : "65" ,
matrix1 : { 'r' , 'a' , 'm' } ,
matrix2 : { 6 , 3 , 2 , 0 }
};
How can I combine this three variables in one objects array ?
Thanks