summaryrefslogtreecommitdiff
path: root/doc/api/path.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/path.md')
-rw-r--r--doc/api/path.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/path.md b/doc/api/path.md
index 1067792631..eb7d9766bc 100644
--- a/doc/api/path.md
+++ b/doc/api/path.md
@@ -135,7 +135,7 @@ added: v0.1.25
* `path` {String}
The `path.extname()` method returns the extension of the `path`, from the last
-occurance of the `.` (period) character to end of string in the last portion of
+occurrence of the `.` (period) character to end of string in the last portion of
the `path`. If there is no `.` in the last portion of the `path`, or if the
first character of the basename of `path` (see `path.basename()`) is `.`, then
an empty string is returned.