Defect description - the generate prime option generates primes only for 5 clicks. After that it gives "undefined" as output.
Steps to reproduce issues - click 6 or more times on the generate primes option.
Expected result - a prime number
Actual result - undefined string
Defect description - the generate prime option generates primes only for 5 clicks. After that it gives "undefined" as output. Steps to reproduce issues - click 6 or more times on the generate primes option. Expected result - a prime number Actual result - undefined string![Screenshot from 2019-03-17 20-34-22](https://user-images.githubusercontent.com/44746156/54491332-cc11b780-48e3-11e9-976b-f9f97f8465ed.png)