Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 435 Bytes

ex_138.md

File metadata and controls

28 lines (24 loc) · 435 Bytes

Exercise 138

  • Create a new index138.js file
  • Define a mutants array with the following values:
Professor X
Cyclops
Iceman
Angel
Magneto
Beast
Phoenix
Logan
Gambit
  • Iterate over the mutants array
  • Add <3 symbol before the mutant name if the iterated name is one of the following:
Professor X
Logan
Phoenix
Gambit
  • Show the original mutant array items as output
  • Show the updated mutant array items as output