Its part of matrix algebra and theory.
const r = (n) => {
return Math.floor(Math.random() * n) + 1;
}
let a = [
r(10),
r(9),
r(8),
r(7),
r(6),
r(5),
r(10),
r(10),
r(10),
]a = [
r(10),
r(9),
r(8),
r(7),
r(6),
r(5),
r(10),
r(10),
r(10),
]Initializing...
| Test Case | Ops/sec | |
|---|---|---|
| mod forEach + push | | ready |
| for (step +1) + push | | ready |
| filter | | ready |
| for (step +3) + push | | ready |
| constant | | ready |
| relative index (step +3) + push | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.