Random in JavaScript

Math.random
Задание 1

Print a random integer from 1 to 100 on the screen.

Задание 2

Fill the array with 10 random integers using a loop.