tc39 / proposal-deiter

Double-Ended Iterator and Destructuring
MIT License
70 stars 3 forks source link

nextLast() instead of next("last") #12

Closed hax closed 2 years ago

hax commented 2 years ago

fix #11

hax commented 2 years ago

As https://github.com/tc39/proposal-iterator-helpers/issues/122#issuecomment-1176946383 , iterator helpers do not pass the protocol, so we have to use nextLast().