js13kgames2015-reverse/src/helpers.js

4 lines
90 B
JavaScript

export function random_number(min, max) {
Math.floor((Math.random() * max) + min);
};