<h2>JavaScript Diziler</h2> <p id="demo"></p> <script> meyveler = ["Muz", "Portakal", "Elma", "Mango"]; var son = meyveler[meyveler.length - 1]; document.getElementById("demo").innerHTML=son; </script>