Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions streams/readable-streams/from.any.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ const iterableFactories = [
return ['a', 'b'][Symbol.iterator]();
}],

['a string', () => {
// This iterates over the code points of the string.
return 'ab';
}],

['a Set', () => {
return new Set(['a', 'b']);
}],
Expand Down Expand Up @@ -170,6 +165,7 @@ const badIterables = [
['Object.create(null)', Object.create(null)],
['a function', () => 42],
['a symbol', Symbol()],
['a string', 'ab'],
['an object with a non-callable @@iterator method', {
[Symbol.iterator]: 42
}],
Expand Down
Loading