doc: update examples of the final "callback" argument for fs.access()
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines
Fixes: #17508 (closed)
Per this following comment (as the origin of the aspiration to help out #17508 (closed)), I've confirmed with the @ gireeshpunathil, and worked with the suggested content of #17578.
#17578 was never landed but has enough content in for a first timer to pick and progress.
Hope that the attempted fs.access
snippets look okay in the PR. Happy to update according to review feedback. Thanks for reviewing in advance.