PR-URL: https://github.com/nodejs/node/pull/5700
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
If the `base` property is not supplied, a concatenation of the `name` property
and the `ext` property will be used as the `base` property.
+Examples:
+
+An example on Posix systems:
+
```js
path.format({
root : "/",
// returns '/file.txt'
```
+An example on Windows:
+
+```js
+path.format({
+ root : "C:\\",
+ dir : "C:\\path\\dir",
+ base : "file.txt",
+ ext : ".txt",
+ name : "file"
+})
+// returns 'C:\\path\\dir\\file.txt'
+```
+
## path.isAbsolute(path)
Determines whether `path` is an absolute path. An absolute path will always