Exercise:

Use the sort() method to sort the array alphabetically.

Edit This Code:
Result:
Correct Code:
Correct Result:
Exercise - © w3schools.com