From 0eac32e3e699c592c6f3391fe9d3ef3e6e10f2d9 Mon Sep 17 00:00:00 2001 From: David Ye Date: Mon, 9 Dec 2019 10:49:15 -0800 Subject: [PATCH] Append `()` to the function name --- src/documentation/0045-node-folders/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documentation/0045-node-folders/index.md b/src/documentation/0045-node-folders/index.md index 8b4be1d96b..291f611916 100644 --- a/src/documentation/0045-node-folders/index.md +++ b/src/documentation/0045-node-folders/index.md @@ -31,7 +31,7 @@ try { ## Read the content of a directory -Use `fs.readdir()` or `fs.readdirSync` to read the contents of a directory. +Use `fs.readdir()` or `fs.readdirSync()` to read the contents of a directory. This piece of code reads the content of a folder, both files and subfolders, and returns their relative path: