Skip to content

Commit

Permalink
feat(ses): Anticipate set-methods proposal (#1970)
Browse files Browse the repository at this point in the history
  • Loading branch information
erights authored Jan 16, 2024
1 parent 99107d4 commit 4a4f9fe
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/ses/src/permits.js
Original file line number Diff line number Diff line change
Expand Up @@ -1121,6 +1121,20 @@ export const permitted = {
values: fn,
'@@iterator': fn,
'@@toStringTag': 'string',
// See https://github.com/tc39/proposal-set-methods
intersection: fn,
// See https://github.com/tc39/proposal-set-methods
union: fn,
// See https://github.com/tc39/proposal-set-methods
difference: fn,
// See https://github.com/tc39/proposal-set-methods
symmetricDifference: fn,
// See https://github.com/tc39/proposal-set-methods
isSubsetOf: fn,
// See https://github.com/tc39/proposal-set-methods
isSupersetOf: fn,
// See https://github.com/tc39/proposal-set-methods
isDisjointFrom: fn,
},

'%SetIteratorPrototype%': {
Expand Down

0 comments on commit 4a4f9fe

Please sign in to comment.