Closed mistakia closed 3 years ago
How are you feeling about this one @mistakia ? :)
Taking a look at it again it seems like it's only a problem when next
is an array of more than a single item.
What's the best way to create such a situation for the tests? would increasing the pointer count from 1 to 2 suffice?
The test would be nice but I think the biggest thing here is just to run npm run build
and commit the dist file changes :+1:
Otherwise LGTM
Fix small typo with
lt
param of the iterator method.[ ] Add test to catch this in the future