| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 53a94a9 commit aab35a9
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -212,7 +212,7 @@ Explicitly setting `_error` to a value will disable this behavior. | |||
| 212 | 212 | ||
| 213 | 213 | ```console | |
| 214 | 214 | > throw new Error('foo'); | |
| 215 | - Error: foo | ||
| 215 | + Uncaught Error: foo | ||
| 216 | 216 | > _error.message | |
| 217 | 217 | 'foo' | |
| 218 | 218 | ``` | |
@@ -225,8 +225,8 @@ Support for the `await` keyword is enabled at the top level. | |||
| 225 | 225 | > await Promise.resolve(123) | |
| 226 | 226 | 123 | |
| 227 | 227 | > await Promise.reject(new Error('REPL await')) | |
| 228 | - Error: REPL await | ||
| 229 | - at repl:1:45 | ||
| 228 | + Uncaught Error: REPL await | ||
| 229 | + at REPL2:1:54 | ||
| 230 | 230 | > const timeout = util.promisify(setTimeout); | |
| 231 | 231 | undefined | |
| 232 | 232 | > const old = Date.now(); await timeout(1000); console.log(Date.now() - old); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments