1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-10 10:40:54 +00:00
This commit is contained in:
Todd Parsons 2023-08-31 12:09:14 +01:00
parent 5d7528264e
commit cd8e06c6ff

View File

@ -350,7 +350,7 @@ export function randint(min, max = null, size = 1)
// raise error if given an invalid size
throw {
origin: "util.random",
context: "when generating a random float",
context: "when generating a random integer",
error: "size must be a positive integer above 0",
};
}