All Questions
2 questions
2
votes
1
answer
91
views
JavaScript function to convert an array to an array of strings (formatted)
Input
categories - an array of categories
[
{ id: 1, title: 'Smartphones' },
{ id: 2, title: 'Laptops' }
]
...
4
votes
2
answers
39
views
Function that groups rows returned from SQL DB
I have a data set returned from an SQL database contained below, as you can see all data remains the same apart from one property, "name_alt".
...