To further explore JavaScript variables, strings, and arrays, you can perform the following exercises:
Modify the sorting example in Listing 5.3 to convert the names to all upper-case before sorting and displaying them.
Modify Listing 5.3 to display a numbered list of names in the textarea.