You can't get the array length by asking for the property "length".

That's what I was doing and I got random cram.
So I added another low level message,
that calls JS_GetArrayLength() in the engine.