Add the return stateement

This commit is contained in:
Aaron Fischer 2015-08-24 16:48:39 +02:00
parent 6293ce1986
commit 50934d3672
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
export function random_number(min, max) {
Math.floor((Math.random() * max) + min);
return Math.floor((Math.random() * max) + min);
};