File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
dotcom-rendering/src/components/AudioPlayer/components Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,14 @@ import { useId, useMemo } from 'react';
33const sumArray = ( array : number [ ] ) => array . reduce ( ( a , b ) => a + b , 0 ) ;
44
55/**
6- * Pseudo random number generator ([linear congruential
6+ * Pseudo random number generator generator ([linear congruential
77 * generator](https://en.wikipedia.org/wiki/Linear_congruential_generator)).
88 *
9- * I'll be honest, I don't fully understand this , but it generates a random
10- * number based on a seed, in this case an array of numbers.
9+ * I'll be honest, I don't fully understand it , but it creates a pseudo random
10+ * number generator based on a seed, in this case an array of numbers.
1111 *
12- * It's deterministic, so the same seed will always generate the same results.
12+ * It's deterministic, so calls to the function it returns will always return
13+ * the same results.
1314 *
1415 * Copilot helped me with it...
1516 */
You can’t perform that action at this time.
0 commit comments