Skip to content
Advertisement

Show array list as specific list in JQuery/JavaScript

I have this list:

JavaScript

Need to show it on ‘data’, like this:

JavaScript

How could to make a array list and show it on ‘data’, Thanks.

Advertisement

Answer

You could use Array#reduce

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement