Something’s not working the way it seems like it should.
I’m working on a larger presentation, had a problem, and have cut it down to show the issue.
The length of a number list in a graph object is returning ‘undefined’ but it should have some value at all times.
Here’s the link to the activity:
Running the activity displays the values of the lengths of two number lists. List A is empty [ ] and correctly shows zero. List B is either an aggregate of input values, set when a value has been submitted; otherwise it is set to List A. Instead of showing zero initially the value ‘undefined’ is returned for the length of B. Once a value has been submitted, the length is correctly given as ‘one’.