Fix typos

This commit is contained in:
Leo Balter 2019-07-10 13:45:18 -04:00 committed by Rick Waldron
parent b45bf4b6fa
commit 6cb0a531af
3 changed files with 3 additions and 4 deletions

View File

@ -37,7 +37,7 @@ var called = 0;
// More info at %FinalizationGroupCleanupIteratorPrototype%.next ( )
function cb() {
called += 1;
};
}
var fg = new FinalizationGroup(function() {
cleanupCallback += 1;

View File

@ -31,8 +31,7 @@ var fg = new FinalizationGroup(function() {});
var unregA = {};
var unregB = {};
var unregC = {};
var unregDE = {};
var unregDE = {};
var unregDE = {}; // Use the same unregister token for D and E
function emptyCells() {
(function() {

View File

@ -26,7 +26,7 @@ features: [FinalizationGroup, WeakRef, host-gc-required]
var holdingsList;
function cb(iterator) {
holdingsList = [...iterator];
};
}
var fg = new FinalizationGroup(function() {});
var deref = false;