angus-c / angus-c/just

`just-standard-deviation` and `just-skewness` require 2 numbers in the array

Open
#561 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6.2k
Forks
209
PR merge metrics
No merged PRs in 30d

Description

In https://anguscroll.com/just/just-standard-deviation, using an array with one number returns the error message "less than one value was passed to `standard deviation`" but it should probably say "two values" or simply return 0. Same with skewness.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.