mirror of
https://github.com/hexahigh/games.git
synced 2025-12-11 20:15:38 +01:00
maybe async will fix it?
This commit is contained in:
parent
a996bb05b4
commit
936c3ccb01
@ -1,5 +1,5 @@
|
||||
// program to print prime numbers between the two numbers
|
||||
function generatePrime() {
|
||||
async function generatePrime() {
|
||||
// take input from the user
|
||||
const lowerNumber = parseInt(prompt('Enter lower number: '));
|
||||
const higherNumber = parseInt(prompt('Enter higher number: '));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user