Posts by Deiveson • 13 points
2 posts
-
0
votes0
answers36
viewsQ: Transforming object objects into a single-level object
All right? Currently I have a function that transforms strings into objects, give a split(".") and pass the array as parameter, show, I have my object filled. function changeObject(path, value, obj…
javascriptasked Deiveson 13 -
1
votes1
answer38
viewsQ: Changing an Existing Object
Tudo Bom? I am trying to change an existing object by inserting new values in it. Ex: // Tenho um Objeto Values let values = { customer: { name: "Fulana", address: { street: "Rua D" } } } I need a…
javascriptasked Deiveson 13