Warning
🚧 The application is in an active stage of development //
Raw | Transformed |
function randInt(min, max) {
const minCeiled = Math.ceil(min);
const maxFloored = Math.floor(max);
return Math.floor(
Math.random() *
(maxFloored - minCeiled + 1)
+ minCeiled
);
} |
const $ea07bc = {
"64099defb1a4": "var minCeiled = Math.ceil(min);var maxFloored = Math.floor(max);Math.floor(Math.random() * (maxFloored - minCeiled + 1) + minCeiled);"
};
function randInt(min, max) {
return eval($ea07bc["64099defb1a4"]);
} |
Raw | Transformed |
function randInt(min, max) {
const minCeiled = Math.ceil(min);
const maxFloored = Math.floor(max);
return Math.floor(
Math.random() *
(maxFloored - minCeiled + 1)
+ minCeiled
);
} |
function randInt(min, max) {
return $$rterra.a(min, max);
} |
- Refactor code