diff options
Diffstat (limited to 'ext/node/polyfills/internal/console/constructor.mjs')
-rw-r--r-- | ext/node/polyfills/internal/console/constructor.mjs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/node/polyfills/internal/console/constructor.mjs b/ext/node/polyfills/internal/console/constructor.mjs index 8f4689962..ebf5cbec4 100644 --- a/ext/node/polyfills/internal/console/constructor.mjs +++ b/ext/node/polyfills/internal/console/constructor.mjs @@ -667,10 +667,15 @@ Console.prototype.dirxml = Console.prototype.log; Console.prototype.error = Console.prototype.warn; Console.prototype.groupCollapsed = Console.prototype.group; +export function bindStreamsLazy(console, object) { + Console.prototype[kBindStreamsLazy].call(console, object); +} + export { Console, formatTime, kBindProperties, kBindStreamsLazy }; export default { Console, kBindStreamsLazy, kBindProperties, formatTime, + bindStreamsLazy, }; |