Skip to content

Commit

Permalink
fixup! review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Nov 5, 2024
1 parent 82d3d8a commit 3477f75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ses/src/cauterize-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ import { objectHasOwnProperty } from './commons.js';
* If the property to be deleted is a function's `.prototype` property, this
* will normally be because the function was supposed to be a
* - builtin method or non-constructor function
* = arrow function
* - arrow function
* - concise method
*
* all of whom are not supposed to have a `.prototype` property. Nevertheless,
* on some platforms (like older versions of Hermes), or as a result of
* some shim-based mods to the primordials (like core-js?), some of these
* functions may accidentally be more like `function` functions with
* an undeletable `.prototype` property. In add these case, if we can
* an undeletable `.prototype` property. In these cases, if we can
* set the value of that bogus `.prototype` property to `undefined`,
* we do so, issuing a warning, rather than failing to initialize ses.
*
Expand Down

0 comments on commit 3477f75

Please sign in to comment.