Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

length

Summary

The number of elements in the Java array represented by the JavaArray object.

Property of JavaArray
Implemented in: JavaScript 1.1, NES 2.0

Description

Unlike Array.length, JavaArray.length is a read-only property. You cannot change the value of the JavaArray.length property because Java arrays have a fixed number of elements.

See Also

Array.length

Document Tags and Contributors

 Contributors to this page: fscholz, Mgjbot, Maian, Dria
 Last updated by: fscholz,