maybe async will fix it?

This commit is contained in:
Boof 2023-04-27 10:08:15 +02:00 committed by GitHub
parent a996bb05b4
commit 936c3ccb01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: '));