From 86ecd7dad65934dbab0d894f4bbc0c4f36016f64 Mon Sep 17 00:00:00 2001 From: David Uhlig Date: Sat, 8 Nov 2025 19:32:42 +0100 Subject: [PATCH] Fix pseudorandom typo --- concepts/randomness/about.md | 4 ++-- concepts/randomness/introduction.md | 4 ++-- exercises/concept/captains-log/.docs/introduction.md | 4 ++-- exercises/concept/captains-log/.meta/design.md | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/concepts/randomness/about.md b/concepts/randomness/about.md index d09087ffd8..7898ab4f1e 100644 --- a/concepts/randomness/about.md +++ b/concepts/randomness/about.md @@ -31,8 +31,8 @@ This concept is not about Web Crypto and will restrict itself to pseudo-random n ## Generating random numbers -In Javascript, you can generate psuedorandom numbers using the [`Math.random()`][Math.random] function. -It will return a psuedorandom floating-point number between 0 (inclusive), and 1 (exclusive). +In Javascript, you can generate pseudorandom numbers using the [`Math.random()`][Math.random] function. +It will return a pseudorandom floating-point number between 0 (inclusive), and 1 (exclusive). To get a random number between _min_ (inclusive) and _max_ (exclusive) you can use a function something like this: diff --git a/concepts/randomness/introduction.md b/concepts/randomness/introduction.md index 79b03703b6..4cd34460f5 100644 --- a/concepts/randomness/introduction.md +++ b/concepts/randomness/introduction.md @@ -19,8 +19,8 @@ Finish the learning exercise(s) about this concept to learn more ## Generating random numbers -In Javascript, you can generate psuedorandom numbers using the [`Math.random()`][Math.random] function. -It will return a psuedorandom floating-point number between 0 (inclusive), and 1 (exclusive). +In Javascript, you can generate pseudorandom numbers using the [`Math.random()`][Math.random] function. +It will return a pseudorandom floating-point number between 0 (inclusive), and 1 (exclusive). To get a random number between _min_ (inclusive) and _max_ (exclusive) you can use a function something like this: diff --git a/exercises/concept/captains-log/.docs/introduction.md b/exercises/concept/captains-log/.docs/introduction.md index 12bf08e3e8..cfa1b59484 100644 --- a/exercises/concept/captains-log/.docs/introduction.md +++ b/exercises/concept/captains-log/.docs/introduction.md @@ -19,8 +19,8 @@ Finish the learning exercise(s) about this concept to learn more ## Generating random numbers -In Javascript, you can generate psuedorandom numbers using the [`Math.random()`][Math.random] function. -It will return a psuedorandom floating-point number between 0 (inclusive), and 1 (exclusive). +In Javascript, you can generate pseudorandom numbers using the [`Math.random()`][Math.random] function. +It will return a pseudorandom floating-point number between 0 (inclusive), and 1 (exclusive). [why-randomness-is-hard]: https://www.malwarebytes.com/blog/news/2013/09/in-computers-are-random-numbers-really-random [Math.random]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random diff --git a/exercises/concept/captains-log/.meta/design.md b/exercises/concept/captains-log/.meta/design.md index 63a5f94e50..fcf0cc49f9 100644 --- a/exercises/concept/captains-log/.meta/design.md +++ b/exercises/concept/captains-log/.meta/design.md @@ -2,7 +2,7 @@ ## Goal -The goal of this exercise is to teach the student how to generate psuedorandom numbers in JavaScript. +The goal of this exercise is to teach the student how to generate pseudorandom numbers in JavaScript. ## Learning objectives