Skip to content
Advertisement

How to convert multiple object to just one object with Javascript?

As you can see i have a multiple object like “123”, “098”, and “456”, i want all of those object to be inside the object of multiple object.

Example:

JavaScript

output i expected:

JavaScript

How can I achieve this? I’m sorry im not show any javascript code cause until now I have no idea what to do

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement