var i = 0var array = []function randomInt() { return Math.floor(Math.random() * (100 - 10 + 1)) + 10;}while (i < 9) { var _num = randomInt() array.push(_num) i += 1}