hotfix: lint docs

This commit is contained in:
Quinn Dougherty 2022-09-09 15:26:20 +08:00
parent 45323b0e08
commit 3c0255cfb9

View File

@ -14,9 +14,9 @@ Danger.laplace: (number, number) => number
Calculates the probability implied by [Laplace's rule of succession](https://en.wikipedia.org/wiki/Rule_of_succession) Calculates the probability implied by [Laplace's rule of succession](https://en.wikipedia.org/wiki/Rule_of_succession)
```js ```js
trials = 10 trials = 10;
successes = 1 successes = 1;
Danger.laplace(trials, successes) // (successes + 1) / (trials + 2) = 2 / 12 = 0.1666 Danger.laplace(trials, successes); // (successes + 1) / (trials + 2) = 2 / 12 = 0.1666
``` ```
### factorial ### factorial