MCPcopy Create free account
hub / github.com/codrops/3DGridContentPreview / getRandomNumber

Function getRandomNumber

src/js/utils.js:13–13  ·  view source on GitHub ↗
(min, max)

Source from the content-addressed store, hash-verified

11};
12
13const getRandomNumber = (min, max) => Math.floor(Math.random() * (max - min + 1) + min);
14
15// Gets the mouse position
16const getMousePos = e => {

Callers 2

constructorMethod · 0.90
showContentMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected