diff --git a/lib/internal/util/inspect.js b/lib/internal/util/inspect.js index fcfdddb98bdcc3..ca98d2f0937870 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -1598,8 +1598,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