不再是实验的。
新增于: v24.1.0
如果目录句柄已打开,则调用 dir.closeSync(),并返回 undefined。
dir.closeSync()
undefined
¥Calls dir.closeSync() if the directory handle is open, and returns undefined.