5. return to link it back
return head_ref ; } function printList ( ) { var temp = head ; while ( temp != null ) { document . write ( temp . data + " " ) ; temp = temp . down ; } document . write ( ) ; }