console.log 函数写入 stdout 并在打印的数据后追加换行符。
Bun 还通过
Bun.stdout 属性将 stdout 暴露为 BunFile。将其作为目标传递给 Bun.write()。
参见
Bun.write()。console.log 函数写入 stdout 并在打印的数据后追加换行符。
Bun.stdout 属性将 stdout 暴露为 BunFile。将其作为目标传递给 Bun.write()。
Bun.write()。