https://github.com/leta91/use-map-method-to-extract-data-from-array
Use the map Method to Extract Data from an Array in JavaScript - freeCodeCamp Challenge
https://github.com/leta91/use-map-method-to-extract-data-from-array
Last synced: about 1 month ago
JSON representation
Use the map Method to Extract Data from an Array in JavaScript - freeCodeCamp Challenge
- Host: GitHub
- URL: https://github.com/leta91/use-map-method-to-extract-data-from-array
- Owner: leta91
- License: mit
- Created: 2022-12-19T11:11:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-28T18:16:18.000Z (over 2 years ago)
- Last Synced: 2025-01-29T18:23:13.337Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Use the map Method to Extract Data from an Array π― freeCodeCamp Challenge
## Part 8 of the JavaScript Algorithms & Data Structures Certification β
### Functional Programming Chapter β‘οΈ Challenge number 7 out of 24- The `watchList` array holds objects with information on several movies ("Inception" π, "Interstellar" π, "The Dark Knight" π¦ΈββοΈ, "Batman Begins" π¦, "Avatar" π§ββοΈ)
- Use `map` on `watchList` to assign a new array of objects to the `ratings` variable
- Each movie in the new array should have only a `title` key with the name of the film, and a `rating` key with the IMDB rating
- The code in the editor currently uses a `for` loop to do this, so you should replace the loop functionality with your `map` expression