Advertisement
Shell_Casing

randomizing filler

Jan 7th, 2019
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         if (this.sampleSize > 1) {
  2.           this.numberValuesArray2 = [...this.numberValuesArray];
  3.           this.numberValuesArray2.fill(this.randomizer());
  4.           console.log(this.numberValuesArray2);
  5.         }
  6.  
  7.         randomizer = () => (Math.random() * 100000).toFixed(0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement