Skip to content

Conversation

beizhedenglong
Copy link
Contributor

There is a bug in insert function. If you insert an element in an empty
list at the first position. It will throw a TypeError: Cannot read
property 'next' of null.

There is a bug in insert function. If you insert an element in an empty
list at the first  position. It will throw a TypeError: Cannot read
property 'next' of null.
@loiane
Copy link
Owner

loiane commented Nov 2, 2016

Thanks for the PR!

@loiane loiane merged commit d287512 into loiane:second-edition Nov 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants