mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
doc: make comment indentation consistent
Currently, some of the docs use different indentation for comments in the code examples. This commit makes the indentation consistent by putting the comments at the beginning of the line (really no indentation that is). PR-URL: https://github.com/nodejs/node/pull/9518 Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
1 parent
5242114d89
commit
367065be4b
14 files changed
+277
-255
No files matched your search
+1
-1
@@ -258,7 +258,7 @@ the stack trace of the `Error`, however changing this property after the
|
||||
```js
|
||||
const err = new Error('The message');
|
||||
console.log(err.message);
|
||||
// Prints: The message
|
||||
// Prints: The message
|
||||
```
|
||||
|
||||
#### error.stack
|
||||
|
||||
Reference in new issue
Block a user