All Questions
10 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
...
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 ...
4
votes
2
answers
115
views
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?
...
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:
...
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:
...
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:
...
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:
...
2
votes
1
answer
494
views
Nested loop to transform MongoDB results
I have the following structure returned from MongoDB:
...
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 ...