As index 0 mentioned in the exception message only appears in the expression
all[0]
, you could make a conclusion that the property
all
was never defined for the cell object.
Some background, just in case:
Properties of a Javascript object and the result of indexing of the object by any other object is the same. All objects are
associative containers, or
associative array:
http://en.wikipedia.org/wiki/Javascript#Dynamic[
^],
http://en.wikipedia.org/wiki/Associative_container[
^].
Compare:
something = { someProperty:"some value", 3:"value @3" };
something.value = "some other value";
alert(something["someProperty"] + '\n' + something["value"] + '\n' + something[3]);
Will show the alert:
some value
some other value
value @3
—SA