Skip to content

Commit

Permalink
Update iterator class string
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyGu committed Dec 25, 2017
1 parent b918798 commit d1392a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/constructs/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ class Interface {
configurable: true
},
[Symbol.toStringTag]: {
value: "${this.name}Iterator",
value: "${this.name} Iterator",
writable: false,
enumerable: false,
configurable: true
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4897,7 +4897,7 @@ const IteratorPrototype = Object.create(utils.IteratorPrototype, {
configurable: true
},
[Symbol.toStringTag]: {
value: \\"URLSearchParamsIterator\\",
value: \\"URLSearchParams Iterator\\",
writable: false,
enumerable: false,
configurable: true
Expand Down

0 comments on commit d1392a3

Please sign in to comment.