Skip to main content

property InspectOptions.maxArrayLength

Specifies the maximum number of Array, TypedArray, WeakMap, and WeakSet elements to include when formatting. Set to null or Infinity to show all elements. Set to 0 or negative to show no elements.

Type #

number
| null
| undefined