Traverse Linked List solution Javascript function traverse(node) { let head = node || null if(!head) { return } else { console.log(node.val) prettyPrint(node.next) } }