list in node js code example Example: lists in node.js let fruits = ['Apple', 'Banana'] console.log(fruits.length) // 2