Skip to content

使用 Bun.nanoseconds() 獲取 bun 進程運行的總納秒數。

ts
Bun.nanoseconds();

請參閱 文檔 > API > 工具函數 獲取更多有用的工具。

Bun學習網由www.bunjs.com.cn整理維護