create empty list of size javascript code example Example: create an empty array js let arrayName = [];