diff --git a/packages/ses/src/permits.js b/packages/ses/src/permits.js index 13432ad689..0fc5616f8f 100644 --- a/packages/ses/src/permits.js +++ b/packages/ses/src/permits.js @@ -310,6 +310,7 @@ arrayForEach(getOwnPropertyNames(strict), prop => { } catch (e) { // https://github.com/facebook/hermes/blob/main/test/hermes/function-non-strict.js if (e.message === 'Restricted in strict mode') { + // Fixed in Static Hermes: https://github.com/facebook/hermes/issues/1582 FunctionInstance[prop] = accessor; } }