From 87ab055466d95203a8223d48eec9304549157aa4 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Tue, 28 Nov 2023 02:36:20 +0100 Subject: [PATCH] Add Promise.withResolvers to custom JS (#892) --- custom/js.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/custom/js.json b/custom/js.json index 0d53d6ad0..0a4040fbf 100644 --- a/custom/js.json +++ b/custom/js.json @@ -22,6 +22,12 @@ "InternalError": { "ctor": {} }, + "Promise": { + "__comment": "Remove when https://tc39.es/proposal-promise-with-resolvers/#sec-promise.withResolvers is merged into the main ECMAScript spec.", + "members": { + "static": ["withResolvers"] + } + }, "RegExp": { "members": { "static": [