Skip to content

Commit

Permalink
[patch] helpers/getIteratorMethod: String is always available
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Mar 7, 2023
1 parent 60fe551 commit ca8b989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/getIteratorMethod.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var isString = require('is-string');

var $iterator = GetIntrinsic('%Symbol.iterator%', true);
var $stringSlice = callBound('String.prototype.slice');
var $String = GetIntrinsic('%String%', true);
var $String = GetIntrinsic('%String%');

module.exports = function getIteratorMethod(ES, iterable) {
var usingIterator;
Expand Down

0 comments on commit ca8b989

Please sign in to comment.