export function ListNode(x) { this.val = x this.next = null } /** * @param head1 ListNode类 * @param head2 ListNode类 */ export function addInList(head1, head2) { console.log(head1, head2) }