Missed exclamation mark

This commit is contained in:
Lavrentiy Rubtsov 2022-02-20 20:33:10 +06:00 committed by GitHub
parent e2f9e58407
commit e1db5dcebe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -248,7 +248,7 @@ Promise.any([
]).catch(error => { ]).catch(error => {
console.log(error.constructor.name); // AggregateError console.log(error.constructor.name); // AggregateError
console.log(error.errors[0]); // Error: Ouch! console.log(error.errors[0]); // Error: Ouch!
console.log(error.errors[1]); // Error: Error console.log(error.errors[1]); // Error: Error!
}); });
``` ```