Show previous contentThen we'll do head.next = newHead;, which will set the current node's next to point backwards. RUN CODERESETJAVASCRIPTCPPCSHARPGOJAVAJAVASCRIPTPYTHONRUBYPHPxxxxxxxxxx 1nextNode = 42// <- 8, 4OUTPUTWrap:001 > Cmd/Ctrl-Enter to run, Cmd/Ctrl-/ to comment Show following content