commit
2cca9a9d09
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ Promise.any([
|
|||
]).catch(error => {
|
||||
console.log(error.constructor.name); // AggregateError
|
||||
console.log(error.errors[0]); // Error: Ouch!
|
||||
console.log(error.errors[1]); // Error: Error
|
||||
console.log(error.errors[1]); // Error: Error!
|
||||
});
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue