fix(curriculum): clarify random property (#54211)

Co-authored-by: Sem Bauke <semboot699@gmail.com>
This commit is contained in:
Supravisor
2024-03-27 11:40:07 +13:00
committed by GitHub
parent eca07c9060
commit daffda6ffc
@@ -7,7 +7,7 @@ dashedName: step-100
# --description--
Add a `random` property which takes the first two numbers from an array and returns a random number between them. Use the `Math.random()` function to help.
Create a `random` property. This property should use the first two numbers from an array to generate a random whole number. The range for this number starts at the smaller positive number (inclusive) among the first two numbers and ends just before the sum of these two numbers. Use the `Math.floor()` and `Math.random()` methods for the calculation.
# --hints--