JavaScript Assignment
Write a JavaScript program that will print all the prime numbers between 1 and 100.
You will need to use looping and functions. (You can print the prime numbers in HTML or place them in a variable then display with an alert () function).
Note: A prime number is a number that can only be divided by itself or by one.