how to create an array in node js

// Create an empty array
let myArray = [];

// Create an array with initial values
let anotherArray = [1, 2, 3, 4, 5];