understanding array methodsin javascript code example Example: javascript array methods let fruits = ['Apple', 'Banana'] console.log(fruits.length) // 2