MCPcopy Create free account
hub / github.com/Milkyroad/SCiPNET / randomInteger

Function randomInteger

public/src/js/sideBar.js:2–4  ·  view source on GitHub ↗
(min, max)

Source from the content-addressed store, hash-verified

1export function sideBarFun() {
2 function randomInteger(min, max) {
3 return Math.floor(Math.random() * (max - min + 1)) + min;
4 }
5
6 function change(hold, tag, min, max, unit) {
7 $(hold + tag).text(randomInteger(min, max) + unit)

Callers 3

changeFunction · 0.85
sideBarFunFunction · 0.85
testConnectionSpeedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected