Skip to main content

All 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: ...
DasBeasto's user avatar
  • 155
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. ...
Dan Cantir's user avatar
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 ...
Johan's user avatar
  • 631
3 votes
2 answers
127 views

Mean by properties in array of objects

I have this array of objects: ...
Katherine Maurus's user avatar
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: ...
Stafie Anatolie's user avatar
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
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 ...
Nifty's user avatar
  • 53
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. <...
pistacchio's user avatar