how to create an empty array of a certain number javascript code example Example: create an empty array js let arrayName = [];