summaryrefslogtreecommitdiff
path: root/doc/api/path.md
diff options
context:
space:
mode:
authorMike Ralphson <mike.ralphson@gmail.com>2016-09-01 15:55:42 +0100
committerAnna Henningsen <anna@addaleax.net>2016-09-02 23:49:54 +0200
commit3905f48882ffbf7e65141a212c581681f97452aa (patch)
tree99dc4a522f47f3bddbf9c7463f0754b8600ac303 /doc/api/path.md
parent609a265aebd89c93e5499363cc2b0bef9e24008b (diff)
downloadnode-new-3905f48882ffbf7e65141a212c581681f97452aa.tar.gz
doc: fix typos
PR-URL: https://github.com/nodejs/node/pull/8370 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
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.