<h2>JavaScript Diziler</h2> <p id="demo"></p> <script> var meyveler = ["Muz", "Portakal", "Elma", "Mango"]; function isArray(x) { return x.constructor.toString().indexOf("Array") > -1; } document.getElementById("demo").innerHTML=isArray(meyveler); </script>