Skip to main content
console.log 函数将内容写入 stdout,并在打印的数据末尾追加换行符。

Bun 还通过 Bun.stdout 属性将 stdout 暴露为 BunFile。将其作为目标传递给 Bun.write()

请参阅 Bun.write()