Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!DOCTYPE html> <title>My Example</title> <p id="msg"></p> <script> var citiesAU = ["Sydney", "Melbourne", "Brisbane", "Perth"], citiesNZ = ["Dunedin", "Christchurch", "Auckland", "Wellington"], citiesUS = ["New York", "Miami", "San Fransisco", "Los Angeles"], cities = citiesAU.concat(citiesNZ, citiesUS); document.getElementById("msg").innerHTML = cities; </script>
Preview