Contact: aviboots(AT)netvision.net.il
39,872 questions
51,796 answers
573 users
let size: number = 7; const arr: number[] = Array.from({length: size}, val => Math.floor(Math.random() * 100)); console.log(arr) /* run: [84, 70, 97, 8, 39, 65, 78] */