Added 'length' attribute to TypedArray