Posts by sidiara castro • 19 points
4 posts
-
0
votes1
answer874
viewsQ: Update field of a selection of an object array with filter
I have a selected list with some records (not all) and I need to apply an update in specific field of the selection but I don’t want to repeat arr.filter(x).filter(y).filter(z...) In a normal…
-
1
votes2
answers735
viewsQ: Accessing a property of an object array within another object array
While using map, filter, reduce to access data an array of objects was all quiet, now I came across access a nesting so locked everything here. const objects = [{ to: 'a', b: 'b', c: [ { cc: 1, dd:…
-
0
votes1
answer51
viewsQ: 2 problems, add elements in array conditionally and then create another array with values per date
FROM THE RESULT OF THE CALL TO THE API I HAVE THAT RESULT: var origemApi = [ { data: '23-04', tipo: 'ADP' }, { data: '23-04', tipo: 'IDP' }, { data: '23-04', tipo: 'ADP' }, { data: '23-05', tipo:…
javascriptasked sidiara castro 19 -
0
votes1
answer65
viewsQ: Group by date and receive total records of each date and assemble another matrix
[ { data: "23-04", xxx: "xxx, yyy: "yyy }, { data: "23-04", xxx: "xxx, yyy: "yyy }, { data: "23-04", xxx: "xxx, yyy: "yyy }, { data: "23-05", xxx: "xxx, yyy: "yyy }, { data: "23-05", xxx: "xxx, yyy:…
javascriptasked sidiara castro 19