Issue #1283 - Implement Promise.prototype.finally()

This resolves #1283.
This commit is contained in:
André Bargull 2019-11-12 17:02:16 +01:00 committed by Roy Tam
commit ff54e6899f
5 changed files with 105 additions and 1 deletions

View file

@ -243,7 +243,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=933681
"$`", "$'", Symbol.species])
gPrototypeProperties['Promise'] =
["constructor", "catch", "then", Symbol.toStringTag];
["constructor", "catch", "then", "finally", Symbol.toStringTag];
gConstructorProperties['Promise'] =
constructorProps(["resolve", "reject", "all", "race", Symbol.species]);