Track JavaScript (Legacy)
JavaScript (Legacy) track

Pascal's Triangle

An exercise from the JavaScript (Legacy) track
medium

About this exercise

Compute Pascal's triangle up to a given number of rows.

control flow conditionals
control flow loops
math
strings
text formatting
View all solutions