var AppArray = [开发者_C百科{
Col1: 'asas', Col2:'12'
},
{
Col1: 'asas2', Col2:'12'
}];
Why do you need this as an array if you have only one object in it.
you can just create an object itself instead of array and use it directly as PrimeObj.col1
and PrimeObj.col2
.
var PrimeObj = {col1: 'bsbbsb', col2:'30042'};
精彩评论