Ad
Code
Diff
  • const randomAB = (a, b) => {
    	return Math.random() > 0.5 ? a : b
    }
    • randomAB=(a,b)=>{
    • return Math.round(Math.random()*(b - a) + a)
    • const randomAB = (a, b) => {
    • return Math.random() > 0.5 ? a : b
    • }