Skip to main content

All Questions

1 vote
3 answers
80 views

Javascript: Reducing redundancy of notation nested value

Hello I have this function that looks for nested value 3 levels deep currently ...
Mateen Kazia's user avatar
1 vote
1 answer
3k views

Compare two arrays of objects and get the objects based on ids

I have two arrays of objects. One has an id property with a list of ids and the second has an object with a unique id property. I want to filter the ids in the second array with the first list and get ...
arunmmanoharan's user avatar
4 votes
2 answers
115 views

Filter one array based on values of another, is this the best way?

...
Dupdroid's user avatar
1 vote
1 answer
516 views

Get an object with null values from an array of nested objects

I have an array of nested objects. How do I get an object with null values using only a particular key in the array of objects? ...
arunmmanoharan's user avatar
7 votes
1 answer
92 views

Grouping, merging and mapping with a timetable

I want to create a "timetable" for some shop. It should look like, "days - hours". I get response from the server in this way: ...
demo's user avatar
  • 175
2 votes
1 answer
4k views

Check deep object property and find duplicate value

I use the following code to find if there is duplicate value in property path: ...
Rayn D's user avatar
  • 227
2 votes
1 answer
83 views

Create new array by filter origin array

I'm getting an array and I needed to find a duplicate ID inside: ...
Jenny M's user avatar
  • 271
5 votes
1 answer
3k views

Generating an HTML table with colspan and rowspan from a one-dimensional array

I will be given the following input: ...
Chris's user avatar
  • 153
2 votes
1 answer
494 views

Nested loop to transform MongoDB results

I have the following structure returned from MongoDB: ...
jeffci's user avatar
  • 248
1 vote
1 answer
8k views

Group similar objects into array of arrays

I have the following code, that groups similar todos into an array of arrays, using lodash (https://lodash.com). Here is a plnkr http://plnkr.co/edit/t4J5bKGjMlQxW2z9Zh7x?p=preview (open your console ...
23tux's user avatar
  • 227