Infinite loop calling quantile without p by jleedev · Pull Request #262 · d3/d3-array
e.g.
> quantile([1,2,3])
^CUncaught Error: Script execution was interrupted by `SIGINT`
While the quantile function might wish to define a specific error or default behavior, the underlying cause is quickselect shuffling elements between integral indices and "undefined"; this is obviously nonsensical and quickselect should instead complain about an invalid pivot index.