# Pascals Triangle in ECMAScript

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

1 | ```
exercism fetch ecmascript pascals-triangle
``` |

# Pascal's Triangle

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

In Pascal's Triangle each number is computed by adding the numbers to the right and left of the current position in the previous row.

## Setup

Go through the setup instructions for ECMAScript to install the necessary dependencies:

http://exercism.io/languages/ecmascript

## Requirements

Install assignment dependencies:

1 |
```
$ npm install
``` |

## Making the test suite pass

Execute the tests with:

1 |
```
$ npm test
``` |

In the test suites all tests but the first have been skipped.

Once you get a test passing, you can enable the next one by
changing `xtest`

to `test`

.

## Source

Pascal's Triangle at Wolfram Math World http://mathworld.wolfram.com/PascalsTriangle.html

## Submitting Incomplete Solutions

It's possible to submit an incomplete solution so you can see how others have completed the exercise.