I have a list that contains a few items:

{item: '0', value: 'Value 0'}
{item: '1', value: 'Value 1'}

It looks fine in the list.

I handle the onListChange event and get the array:

list = this.[modelname].items

It works fine.

I output the array in the log and it looks fine (using Object.toJSON())

But when I try and access any property of any item, it tells me that I can't read the property 'value' of object. How is that possible if I can see it exists? I'm kind of confused as to why this is happening...

list = this.[modelname].items;
		for(var i = 0; i < list.length; i++){
			Mojo.Log.error('Loop ' + i);
			Mojo.Log.error('LIST ITEM:' + Object.toJSON(list[i]));
// Dies at the line below
Anyone see something wrong with my code?