All Questions
8 questions
0
votes
1
answer
341
views
Efficiently performing multiple nested grouping and mapping in Javascript
I have an array of log objects with log_types and dates, like this:
...
5
votes
2
answers
2k
views
Transform an object into another object structure
I've got such an input object, which I should modify in order to use it with some charts library.
...
6
votes
1
answer
208
views
Recursive component JSON configuration builder
My goal here is to make data driven nested forms in React. I've created a function that points to a form configuration JSON, which can contain both components and references to other configuration ...
3
votes
2
answers
127
views
Mean by properties in array of objects
I have this array of objects:
...
1
vote
1
answer
68
views
Create an array which contains specific values of a specific nested object inside an array
So I have this array of objects, which respectively contain other objects:
...
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:
...
5
votes
1
answer
164
views
Animation Template Method for Snake Game
I have recently finished my first iteration of a template method implementation for a JavaScript canvas animation of the snake game. However, I would love for the community to critique this code and ...
11
votes
1
answer
228
views
Hunt the wumpus: Functional JavaScript (Node) with Lodash
I'd like a code review of the following simple implementation of the classic game Hunt the Wumpus
I'm trying to use JavaScript in the most "functional" way. To help me, I'm using lodash and ES6.
<...