Skip to main content

maxArrayLength

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.

number
| null
| undefined
Back to top