Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 390 Bytes

ex_130.md

File metadata and controls

22 lines (19 loc) · 390 Bytes

Exercise 130

  • Create a new index130.js file
  • Define a mutants array with the following values:
Professor X
Cyclops
Iceman
Angel
Beast
Phoenix
  • Sort the list
  • Reverse the sorted list
  • Join all mutants name using the following text: '* '
  • Show the following output:
    • Original mutants list
    • Sorted mutants list
    • Reversed mutants list
    • Mutants name separated by *