code: function probability_mass(x, lambda) {
              return (Math.pow(Math.E, -lambda) * Math.pow(lambda, x)) /
                  factorial(x);
          }
docs: a [probability mass function](https://en.wikipedia.org/wiki/Probability_mass_function)