From b74391bbe899dbad346c6a727f91034ac92812c3 Mon Sep 17 00:00:00 2001 From: vinayak Date: Sun, 3 May 2020 20:08:12 +0530 Subject: [PATCH] Update CONTRIBUTING.md Co-authored-by: Christian Clauss --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 606f2351b..b9ece7198 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -40,7 +40,7 @@ Algorithms should: * have intuitive class and function names that make their purpose clear to readers * use JavaScript naming conventions and intuitive variable names to ease comprehension * be flexible to take different input values -* raise Javascript exceptions (ValueError, etc.) on erroneous input values +* raise JavaScript exceptions (RangeError, etc.) on erroneous input values Algorithms in this repo should not be how-to examples for existing Javascript packages. Instead, they should perform internal calculations or manipulations to convert input values into different output values. Those calculations or manipulations can use data types, classes, or functions of existing Javascript packages but each algorithm in this repo should add unique value.