Posts by user153465 • 56 points
1 post
-
4
votes1
answer985
viewsA: Convert Javascript array to a Javascript object?
Ideally your attempt would be posted to find what is wrong, but the logic is quite basic, just create a new array with the desired format. If an id node already exists in the array, just do one push…