I'm already looking in Convert Array to Object but it looks different. I mean, how i can convert array to object with the square brackets format at the start and end of the object?
Array :
['a','b','c']
to :
[
{
0: 'a',
1: 'b',
2: 'c'
}
]
Anyone can help?