Fix typo: iterator => iterator (#2394)

Fix #2392
This commit is contained in:
Leo Balter 2019-10-07 12:43:23 -04:00 committed by GitHub
parent 0a22ea3d29
commit 8688c4ab79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -51,12 +51,12 @@ emptyCells().then(function() {
assert.throws(Test262Error, function() {
fg.cleanupSome(poisoned);
});
assert.sameValue(called, 1);
assert.sameValue(typeof iterator, 'object');
assert.sameValue(typeof iteraror.next, 'function');
assert.sameValue(typeof iterator.next, 'function');
assert.throws(TypeError, function() {
iterator.next();
}, 'iterator.next throws a TypeError if IsFinalizationGroupCleanupJobActive is false');
}, 'iterator.next throws a TypeError if IsFinalizationGroupCleanupJobActive is false');
}).then($DONE, resolveAsyncGC);