diff --git a/doc/api/util.md b/doc/api/util.md index e0307ef964d960..62234a5a175606 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -435,10 +435,6 @@ changes: * `showProxy` {boolean} If `true`, then objects and functions that are `Proxy` objects will be introspected to show their `target` and `handler` objects. **Default:** `false`. - * `maxArrayLength` {integer} 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 diff --git a/lib/internal/util/inspect.js b/lib/internal/util/inspect.js index f7e5507882f679..4e8e4d47302b08 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -163,8 +163,6 @@ function inspect(value, opts) { colors: inspectDefaultOptions.colors, customInspect: inspectDefaultOptions.customInspect, showProxy: inspectDefaultOptions.showProxy, - // TODO(BridgeAR): Deprecate `maxArrayLength` and replace it with - // `maxEntries`. maxArrayLength: inspectDefaultOptions.maxArrayLength, breakLength: inspectDefaultOptions.breakLength, compact: inspectDefaultOptions.compact,