Contact: aviboots(AT)netvision.net.il
39,907 questions
51,839 answers
573 users
const len = 4; let arr = Array.apply(null, { length: len }).map(Function.call, Math.random) console.log(arr) /* run: [0.19285601301856026, 0.1789833606377793, 0.4840564254709282, 0.06086267581453142] */