hotfix: lint docs
This commit is contained in:
parent
45323b0e08
commit
3c0255cfb9
|
@ -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)
|
||||
|
||||
```js
|
||||
trials = 10
|
||||
successes = 1
|
||||
Danger.laplace(trials, successes) // (successes + 1) / (trials + 2) = 2 / 12 = 0.1666
|
||||
trials = 10;
|
||||
successes = 1;
|
||||
Danger.laplace(trials, successes); // (successes + 1) / (trials + 2) = 2 / 12 = 0.1666
|
||||
```
|
||||
|
||||
### factorial
|
||||
|
|
Loading…
Reference in New Issue
Block a user