Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>My Example</title> <p id="msg"></p> <script> var cities = ["Sydney", "Tokyo", "Brisbane", "Auckland", "London", "Cairns"]; cities.sort(); document.getElementById("msg").innerHTML = cities; </script>