Skip to content

Commit

Permalink
[Refactor] update spec from tc39/ecma262#3306
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Apr 6, 2024
1 parent f91c629 commit 3aa1d1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
8 changes: 0 additions & 8 deletions aos/SetDataSize.js

This file was deleted.

3 changes: 1 addition & 2 deletions implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ var $Set = require('es-set/polyfill')();

var Call = require('es-abstract/2024/Call');
var GetSetRecord = require('./aos/GetSetRecord');
var SetDataSize = require('./aos/SetDataSize');
var ToBoolean = require('es-abstract/2024/ToBoolean');

var isSet = require('is-set');
Expand All @@ -25,7 +24,7 @@ module.exports = function isSubsetOf(other) {

var otherRec = GetSetRecord(other); // step 3

var thisSize = SetDataSize(O); // step 4
var thisSize = $setSize(O); // SetDataSize(O.[[SetData]]); // step 4

if (thisSize > otherRec['[[Size]]']) {
return false; // step 5
Expand Down

0 comments on commit 3aa1d1d

Please sign in to comment.