All Questions
4 questions
1
vote
1
answer
147
views
Transform an array into object and set index for an unique key in javascript
I have a method that merges keys and indexes from an array into an object.
I'm stuck with ways to compress this method, and I don't know what I can do to make it simpler.
Goal
get an array of objects ...
1
vote
1
answer
122
views
JavaScript, looping, and functional approach
Data Structure coming back from the server
...
1
vote
1
answer
57
views
1
vote
1
answer
78
views
Concat strings from Object or Array
How would you merge these two functions into a single more generic function?
...