Skip to content

Commit

Permalink
[Refactor] change internal slot name
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Sep 10, 2024
1 parent 13d367c commit ce29a4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aos/GetSetRecord.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ module.exports = function GetSetRecord(obj) {
};
}

return { '[[Set]]': obj, '[[Size]]': intSize, '[[Has]]': has, '[[Keys]]': keys }; // step 12
return { '[[SetObject]]': obj, '[[Size]]': intSize, '[[Has]]': has, '[[Keys]]': keys }; // step 12
};
2 changes: 1 addition & 1 deletion implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = function isSubsetOf(other) {
var index = 0; // step 6
$setForEach(O, function (e) {
if (index < thisSize) { // step 7
var inOther = ToBoolean(Call(otherRec['[[Has]]'], otherRec['[[Set]]'], [e])); // step 7.c.i
var inOther = ToBoolean(Call(otherRec['[[Has]]'], otherRec['[[SetObject]]'], [e])); // step 7.c.i
if (!inOther) {
// eslint-disable-next-line no-throw-literal
throw false; // step 7.c.ii, kinda
Expand Down

0 comments on commit ce29a4d

Please sign in to comment.