UNPKG
@nori-zk/proof-conversion
Version:
latest (0.8.21)
0.8.21
0.8.20
0.8.19
0.8.18
0.8.17
0.8.16
0.5.15
0.5.14
0.5.12
0.5.11
0.5.10
0.5.9
0.5.8
0.5.7
0.5.6
0.5.4
0.5.3
0.1.3
0.1.2
0.1.1
Verifying zkVM proofs inside o1js circuits, to generate Mina compatible proof
@nori-zk/proof-conversion
/
build
/
src
/
utils
/
range.js
6 lines
•
240 B
JavaScript
View Raw
1
2
3
4
5
6
export
const
range
= (
min, max
) => {
const
start = max ===
undefined
?
0
: min;
const
end = max ===
undefined
? min : max;
return
Array
.
from
({
length
: end - start },
(
_, idx
) =>
start + idx); };
//# sourceMappingURL=range.js.map