Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 476 Bytes

File metadata and controls

22 lines (18 loc) · 476 Bytes

Exercise 136

  • Create a new index136.js file
  • Define a mutants array and assign the following values
Professor X
Cyclops
Iceman
Angel
Magneto
Beast
Phoenix
Logan
Gambit
  • Iterate over each mutants item using forEach
  • The objective is to create a string value with Iceman, Logan and Phoenix
  • To create the string you need to get the names while iterating the mutants array
  • Once the iteration is over show the generated string with the selected mutants names