Double linked list with 5 Nodes Im having trouble getting this to produce an output. The output shou

Double linked list with 5 Nodes

Im having trouble getting this to produce an output. The output should look something like this.

Linked List with 5 nodes

0: Current Node Value: Head Node Last Node Value: [object Object] Next Node Value: Second Node

1: Current Node Value: Second Node Last Node Value: [object Object] Next Node Value: Third Node

2: Current Node Value: Third Node Last Node Value: [object Object] Next Node Value: Fourth Node

3: Current Node Value: Fourth Node Last Node Value: [object Object] Next Node Value: Tail Node

4: Current Node Value: Tail Node Last Node Value: [object Object] Next Node Value: null

Here is the like to the code: https://jsfiddle.net/7kd24pf7/1/

 

Looking for a Similar Assignment? Hire our Top Uk Tutors while you enjoy your free time! All papers are written from scratch and are 100% Original. Try us today! Active Discount Code FREE15