| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b7fdb48 commit 206c1b8
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -483,7 +483,7 @@ changes: | |||
| 483 | 483 | * `err` {Error} | |
| 484 | 484 | * `addresses` {string\[] | Object\[]} | |
| 485 | 485 | ||
| 486 | - Uses the DNS protocol to resolve a IPv4 addresses (`A` records) for the | ||
| 486 | + Uses the DNS protocol to resolve an IPv4 addresses (`A` records) for the | ||
| 487 | 487 | `hostname`. The `addresses` argument passed to the `callback` function | |
| 488 | 488 | will contain an array of IPv4 addresses (e.g. | |
| 489 | 489 | `['74.125.79.104', '74.125.79.105', '74.125.79.106']`). | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -560,7 +560,7 @@ For general use cases, it's recommended to call `module.enableCompileCache()` wi | |||
| 560 | 560 | specifying the `options.directory`, so that the directory can be overridden by the | |
| 561 | 561 | `NODE_COMPILE_CACHE` environment variable when necessary. | |
| 562 | 562 | ||
| 563 | - Since compile cache is supposed to be a optimization that is not mission critical, this | ||
| 563 | + Since compile cache is supposed to be an optimization that is not mission critical, this | ||
| 564 | 564 | method is designed to not throw any exception when the compile cache cannot be enabled. | |
| 565 | 565 | Instead, it will return an object containing an error message in the `message` field to | |
| 566 | 566 | aid debugging. If compile cache is enabled successfully, the `directory` field in the | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1554,7 +1554,7 @@ symbol is [registered globally][global symbol registry] and can be | |||
| 1554 | 1554 | accessed in any environment as `Symbol.for('nodejs.util.inspect.custom')`. | |
| 1555 | 1555 | ||
| 1556 | 1556 | Using this allows code to be written in a portable fashion, so that the custom | |
| 1557 | - inspect function is used in an Node.js environment and ignored in the browser. | ||
| 1557 | + inspect function is used in a Node.js environment and ignored in the browser. | ||
| 1558 | 1558 | The `util.inspect()` function itself is passed as third argument to the custom | |
| 1559 | 1559 | inspect function to allow further portability. | |
| 1560 | 1560 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments