Sign up
Log in
Home
Language tracks
JavaScript (Legacy) track
Exercises
Pascal's Triangle
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