how to get all lists with console log code example Example: how to console log array in javascript console.log(arrayName);