Pascal's triangle: Difference between revisions

m
Line 2,334:
return a
.concat([zipWith(
function (a, b) {=> a + b, [0].concat(lstPreviousRow),
return a + b
}, [0].concat(lstPreviousRow),
lstPreviousRow.concat(0)
)]);
Line 2,375 ⟶ 2,373:
}).rows;
 
})();</lang>
</lang>
 
{{Out}}
9,659

edits