JSFiddle - React, Tailwind, and code Playground
JavaScript
function ListNode(val, next) {
this.val = (val === undefined ? 0 : val)
this.next = (next === undefined ? null : next)
}
/**
* @param {ListNode} l1
* @param {ListNode} l2
* @return {ListNode}
*/
var addTwoNumbers = function(l1, l2) {
};
let l1 = [2,4,3], l2 = [5,6,4];
addTwoNumbers(l1, l2);