Unit 5 Lesson 12 Traversals Make - Question about initializing lists with dataset

Here is the code I am asking about: Code.org - App Lab

I am wondering why the console.log statement prints 1 when I am trying to see how many items are in the lists that I declared and initialized using the getColumn command.

I thought that when the program was run, the lists would be automatically populated with all the elements in the data table column.

Where is my logic wrong?

You have [ ] around getColumn.

1 Like

Thank you so much. So nice to have help with debugging syntax.