Array.length length Description Array.length Return values integer. Examples Example #1 – length example Runvar array = [1, 2, 3, 4]; console.log(array.length); // 4 External references Mozilla: Array.length property