Merge pull request #531 from petekeller2/master
Update sentence in Unhandled rejections
This commit is contained in:
commit
007cf41ebd
1 changed files with 1 additions and 1 deletions
|
@ -635,7 +635,7 @@ new Promise(function() {
|
|||
|
||||
In case of an error, the promise state becomes "rejected", and the execution should jump to the closest rejection handler. But there is no such handler in the examples above. So the error gets "stuck".
|
||||
|
||||
In practice, that's usually because of the bad code. Indeed, how come that there's no error handling?
|
||||
In practice, that's usually because of the bad code. Indeed, how come there's no error handling?
|
||||
|
||||
Most JavaScript engines track such situations and generate a global error in that case. We can see it in the console.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue