// Genereer een random veelvoud van 10 tussen min (inclusief) en max (exclusief) 37 function randomMultipleOf10(min, max) { 38 let randomNumber = random(min / 10, max / 10); 39 let roundedNumber = Math.floor(randomNumber); 40 return roundedNumber * 10; 41 }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter