manniru
12/15/2017 - 2:31 AM

ES6.js

// Create Random Array
const randomArray = (length, max) => [...new Array(length)].map(() => Math.round(Math.random() * max));