Actually, an object doesn’t have a length because this is not a List.
I assume you want to count the keys of the object and for that just use the following construction
Would you mind explaining the difference between lists and objects? I thought they were both basically arrays and objects had keys and lists were without keys.
Thanks @mark-piller for the videos. I was getting tripped up thinking of objects as associative arrays and then not understanding why if everything is an array it doesn’t work the same.
In addition to watching your videos, I did some reading on JS arrays/objects and it makes more sense now.