I have problem, that Quokka not showed result for this line:
[...Array(max - min + 1).keys()].map(i => i + min);
I have problem, that Quokka not showed result for this line:
[...Array(max - min + 1).keys()].map(i => i + min);
You should give a variable the result of the function as value, then reference it, like this:
const range = (min, max) =>
[...Array(max - min + 1).keys()].map((i) => i + min);
let a = range(1, 5);
a;
This way it displays the result:
Calculating the value of it wont display the result by default.