--- title: Evaluate binomial coefficients id: 598de241872ef8353c58a7a2 challengeType: 5 videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert(typeof binom === "function", "binom is a function.");' - text: '' testString: 'assert.equal(binom(5, 3), 10, "binom(5,3) should return 10.");' - text: '' testString: 'assert.equal(binom(7, 2), 21, "binom(7,2) should return 21.");' - text: '' testString: 'assert.equal(binom(10, 4), 210, "binom(10,4) should return 210.");' - text: '' testString: 'assert.equal(binom(6, 1), 6, "binom(6,1) should return 6.");' - text: '' testString: 'assert.equal(binom(12, 8), 495, "binom(12,8) should return 495.");' ```
## Challenge Seed
```js function binom (n, k) { // Good luck! } ```
## Solution
```js // solution required ```