Source Code: (back to article)
<!DOCTYPE html>
<html>
<body>
<h2>Массивы JavaScript</h2>
<p id="demo"></p>
<script>
var flowers = ["rose", "daisy", "lily"];
document.getElementById("demo").innerHTML = flowers;
</script>
</body>
</html>