Solution Review: Gathering All Promises
Let's discuss the solution to the exercise given in the previous lesson, gathering all promises.
We'll cover the following...
Solution
Let’s take a look at the solution to the challenge given in the previous lesson.
100000 500000
Explanation
The time limit is 1 second, after which it throws an error.
Let’s start by modifying the countPrimesForEachLine()
function. At line 30, we are using ...