Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IvanAdmaers/react-roulette-pro
/ reproductionArray
Function
reproductionArray
example/src/utills/reproductionArray.js:1–5 ·
view source on GitHub ↗
(array = [], length = 0)
Source
from the content-addressed store, hash-verified
1
const
reproductionArray = (array = [], length = 0) => [
2
...Array(length)
3
.fill(
'_'
)
4
.map(() => array[Math.floor(Math.random() * array.length)]),
5
];
6
7
export
default reproductionArray;
Callers
1
App
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected