Skip to content

Commit 7edd843

Browse files
authored
Fix pseudorandom typo (#2794)
1 parent 7c8974e commit 7edd843

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

concepts/randomness/about.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

3737
To get a random number between _min_ (inclusive) and _max_ (exclusive) you can use a function something like this:
3838

concepts/randomness/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
To get a random number between _min_ (inclusive) and _max_ (exclusive) you can use a function something like this:
2626

exercises/concept/captains-log/.docs/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

exercises/concept/captains-log/.meta/design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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

0 commit comments

Comments
 (0)