| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6d94620 commit c3c86b6
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -276,10 +276,9 @@ util.format('%% %s'); | |||
| 276 | 276 | // Returns: '%% %s' | |
| 277 | 277 | ``` | |
| 278 | 278 | ||
| 279 | - Please note that `util.format()` is a synchronous method that is mainly | ||
| 280 | - intended as a debugging tool. Some input values can have a significant | ||
| 281 | - performance overhead that can block the event loop. Use this function | ||
| 282 | - with care and never in a hot code path. | ||
| 279 | + `util.format()` is a synchronous method that is intended as a debugging tool. | ||
| 280 | + Some input values can have a significant performance overhead that can block the | ||
| 281 | + event loop. Use this function with care and never in a hot code path. | ||
| 283 | 282 | ||
| 284 | 283 | ## util.formatWithOptions(inspectOptions, format[, ...args]) | |
| 285 | 284 | <!-- YAML | |
@@ -477,7 +476,7 @@ changes: | |||
| 477 | 476 | to be displayed on a new line. It will also add new lines to text that is | |
| 478 | 477 | longer than `breakLength`. If set to a number, the most `n` inner elements | |
| 479 | 478 | are united on a single line as long as all properties fit into | |
| 480 | - `breakLength`. Short array elements are also grouped together. Note that no | ||
| 479 | + `breakLength`. Short array elements are also grouped together. No | ||
| 481 | 480 | text will be reduced below 16 characters, no matter the `breakLength` size. | |
| 482 | 481 | For more information, see the example below. **Default:** `3`. | |
| 483 | 482 | * `sorted` {boolean|Function} If set to `true` or a function, all properties | |
@@ -1138,7 +1137,7 @@ added: v10.0.0 | |||
| 1138 | 1137 | * Returns: {boolean} | |
| 1139 | 1138 | ||
| 1140 | 1139 | Returns `true` if the value is an [async function][]. | |
| 1141 | - Note that this only reports back what the JavaScript engine is seeing; | ||
| 1140 | + This only reports back what the JavaScript engine is seeing; | ||
| 1142 | 1141 | in particular, the return value may not match the original source code if | |
| 1143 | 1142 | a transpilation tool was used. | |
| 1144 | 1143 | ||
@@ -1301,7 +1300,7 @@ added: v10.0.0 | |||
| 1301 | 1300 | * Returns: {boolean} | |
| 1302 | 1301 | ||
| 1303 | 1302 | Returns `true` if the value is a generator function. | |
| 1304 | - Note that this only reports back what the JavaScript engine is seeing; | ||
| 1303 | + This only reports back what the JavaScript engine is seeing; | ||
| 1305 | 1304 | in particular, the return value may not match the original source code if | |
| 1306 | 1305 | a transpilation tool was used. | |
| 1307 | 1306 | ||
@@ -1320,7 +1319,7 @@ added: v10.0.0 | |||
| 1320 | 1319 | ||
| 1321 | 1320 | Returns `true` if the value is a generator object as returned from a | |
| 1322 | 1321 | built-in generator function. | |
| 1323 | - Note that this only reports back what the JavaScript engine is seeing; | ||
| 1322 | + This only reports back what the JavaScript engine is seeing; | ||
| 1324 | 1323 | in particular, the return value may not match the original source code if | |
| 1325 | 1324 | a transpilation tool was used. | |
| 1326 | 1325 | ||
@@ -1858,7 +1857,7 @@ util.isError({ name: 'Error', message: 'an error occurred' }); | |||
| 1858 | 1857 | // Returns: false | |
| 1859 | 1858 | ``` | |
| 1860 | 1859 | ||
| 1861 | - Note that this method relies on `Object.prototype.toString()` behavior. It is | ||
| 1860 | + This method relies on `Object.prototype.toString()` behavior. It is | ||
| 1862 | 1861 | possible to obtain an incorrect result when the `object` argument manipulates | |
| 1863 | 1862 | `@@toStringTag`. | |
| 1864 | 1863 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments