Using JavaScript's Math.random, we create 3 random integer numbers ranging from -500 to 499
We then use the Quadratic Equation Formula to find the roots through JavaScript arithmetic operations
You can see that sometimes it says "No real roots". That is because not every quadratic equation has roots that are real numbers. Learn more here.