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 ddfe8ad commit 9a7fd29
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 @@ -29,7 +29,7 @@ module.exports = function symmetricDifference(other) {

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

var keysIter = GetIteratorFromMethod(otherRec['[[Set]]'], otherRec['[[Keys]]']); // step 4
var keysIter = GetIteratorFromMethod(otherRec['[[SetObject]]'], otherRec['[[Keys]]']); // step 4

var result = new $Set();
$setForEach(O, function (value) {
Expand Down

0 comments on commit 9a7fd29

Please sign in to comment.