diff --git a/doc/api/util.md b/doc/api/util.md index 8939844760e409..47c48783764a5e 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -1635,6 +1635,8 @@ async function callStat() { const stats = await stat('.'); console.log(`This directory is owned by ${stats.uid}`); } + +callStat(); ``` If there is an `original[util.promisify.custom]` property present, `promisify`