Different ways to extract data from complex arrays using different methods (including map, reduce, etc.). Example JavaScript code.
-
Notifications
You must be signed in to change notification settings - Fork 0
Different ways to extract data from complex arrays using different methods. The watchList array holds objects with information on several movies. Use map on watchList to assign a new array of objects with only title and rating keys to the ratings variable. Examples for JavaScript.
candytale55/Extract_Movie_Data_Ratings_from_Array_JS
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Different ways to extract data from complex arrays using different methods. The watchList array holds objects with information on several movies. Use map on watchList to assign a new array of objects with only title and rating keys to the ratings variable. Examples for JavaScript.