jasonsjones / doubly-linked-list

Javascript implementation of a doubly linked list data structure.
Other
30 stars 6 forks source link

Problem handling nodes with falsy values. #6

Closed Spagiari closed 5 years ago

Spagiari commented 5 years ago

Nodes created with value 0, empty arrays, etc... When they are retrieved the value comes null.

jasonsjones commented 5 years ago

Thanks for submitting this issue...it is certainly problematic, isn't it? 😉 Looks like I missed a few test cases.

Taking a look at the PR now...