diff --git a/lib/internal/util/inspect.js b/lib/internal/util/inspect.js index fc52ba514e771b..f38df74ed6af15 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -1596,8 +1596,9 @@ function formatPrimitive(fn, value, ctx) { trailer = `... ${remaining} more character${remaining > 1 ? 's' : ''}`; } if (ctx.compact !== true && - // TODO(BridgeAR): Add unicode support. Use the readline getStringWidth - // function. + // We do not support handling unicode characters width with + // the readline getStringWidth function as there are + // performance implications. value.length > kMinLineLength && value.length > ctx.breakLength - ctx.indentationLvl - 4) { return value