JS hitung jumlah elemen array pakai properti length

by istiq20

JavaScript

const buah = ['pisang', 'apel', 'mangga'];

console.log(buah.length); // 3