diff --git a/packages/ses/src/permits.js b/packages/ses/src/permits.js index 0fc5616f8f..68ba182ca7 100644 --- a/packages/ses/src/permits.js +++ b/packages/ses/src/permits.js @@ -304,7 +304,8 @@ const strict = function () { 'use strict'; }; -arrayForEach(getOwnPropertyNames(strict), prop => { +// TODO Remove this once we no longer support the Hermes that needed this. +arrayForEach(['caller', 'arguments'], prop => { try { strict[prop]; } catch (e) {