JavaScript coding interview — Functions — Part 6

Functions

Photo by AZGAN MjESHTRI on Unsplash
I liked the below reference to generate the pascal triangle one row at a time using 2 functions:https://medium.com/javascript-in-plain-english/algorithms-101-pascals-triangle-in-javascript-9fbd9032871

Senior User Interface Engineer at Aruba Networks

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store