I have an object
{0: "item A", 1: "item B", 2: "item C"}
How can I convert the object to become array like this
[{0: "item A", 1: "item B", 2: "item C"}]
For now I have tried Object.keys(obj) but it returns each element in my object to array.
Really needs help. Thank you for helping
[]? like,obj = [obj];