File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
exercises/concept/captains-log Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ This concept is not about Web Crypto and will restrict itself to pseudo-random n
3131
3232## Generating random numbers
3333
34- In Javascript, you can generate psuedorandom numbers using the [ ` Math.random() ` ] [ Math.random ] function.
35- It will return a psuedorandom floating-point number between 0 (inclusive), and 1 (exclusive).
34+ In Javascript, you can generate pseudorandom numbers using the [ ` Math.random() ` ] [ Math.random ] function.
35+ It will return a pseudorandom floating-point number between 0 (inclusive), and 1 (exclusive).
3636
3737To get a random number between _ min_ (inclusive) and _ max_ (exclusive) you can use a function something like this:
3838
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ Finish the learning exercise(s) about this concept to learn more
1919
2020## Generating random numbers
2121
22- In Javascript, you can generate psuedorandom numbers using the [ ` Math.random() ` ] [ Math.random ] function.
23- It will return a psuedorandom floating-point number between 0 (inclusive), and 1 (exclusive).
22+ In Javascript, you can generate pseudorandom numbers using the [ ` Math.random() ` ] [ Math.random ] function.
23+ It will return a pseudorandom floating-point number between 0 (inclusive), and 1 (exclusive).
2424
2525To get a random number between _ min_ (inclusive) and _ max_ (exclusive) you can use a function something like this:
2626
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ Finish the learning exercise(s) about this concept to learn more
1919
2020## Generating random numbers
2121
22- In Javascript, you can generate psuedorandom numbers using the [ ` Math.random() ` ] [ Math.random ] function.
23- It will return a psuedorandom floating-point number between 0 (inclusive), and 1 (exclusive).
22+ In Javascript, you can generate pseudorandom numbers using the [ ` Math.random() ` ] [ Math.random ] function.
23+ It will return a pseudorandom floating-point number between 0 (inclusive), and 1 (exclusive).
2424
2525[ why-randomness-is-hard ] : https://www.malwarebytes.com/blog/news/2013/09/in-computers-are-random-numbers-really-random
2626[ Math.random ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random
Original file line number Diff line number Diff line change 22
33## Goal
44
5- The goal of this exercise is to teach the student how to generate psuedorandom numbers in JavaScript.
5+ The goal of this exercise is to teach the student how to generate pseudorandom numbers in JavaScript.
66
77## Learning objectives
88
You can’t perform that action at this time.
0 commit comments