You can get the number of elements in the array by checking its length property: const a = [1, 2, 3] a.length //3 ◀︎ Introduction ▶︎ Create a new array from an existing array Lessons this unit: 0: Introduction 1: ▶︎ Number of items in an array2: Create a new array from an existing array3: Adding an item to an existing array4: Adding at the beginning of an array5: Adding multiple items to the array6: Removing an item from an array7: Modifying an existing array without mutating it8: Arrays of arrays9: Filling an array10: Array destructuring11: Check if an array contains a specific value JOIN VALLEY PRO