Skip to content

Commit

Permalink
Fixes Iterator.from
Browse files Browse the repository at this point in the history
  • Loading branch information
mhassan1 committed Oct 21, 2024
1 parent 001c98b commit 5ed3b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polyfills/Iterator/from/polyfill.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* global CreateMethodProperty, Iterator, IteratorHelpersUtils */
// 3.1.1.2.2 Iterator.from ( O )
CreateMethodProperty(Iterator, "from", function from(O) {
return IteratorHelpersUtils.iterator.from(this, O);
return IteratorHelpersUtils.iterator.from(O);
});

0 comments on commit 5ed3b27

Please sign in to comment.