Javascript
JavaScript Fundamentals -- Arrays in JavaScript

Exercise 1

PRO
Outline

Here's the first exercise for this section:

// map and filter
const courses = [
  { name: 'JavaScript Fundamentals' },
  { name: 'Angular CLI Basics' },
  { name: 'Deploying Apps to Netlify' }
]

// 1. Use the map method to create an array of course names (strings only) from the courses array

// 2. Use the filter method to create an array from the courses array where the only item is the one with a name of 'JavaScript Fundamentals'

You can fork this exercise from StackBlitz by clicking here.

 

I finished! On to the next chapter