diff --git a/doc/api/util.md b/doc/api/util.md index 8be463bdf86cbe..9eb1d3d4fcf469 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -406,10 +406,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` {number} 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 444a07d23f7771..7f9bb0c2beb02e 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -161,8 +161,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,