diff --git a/functions/isprime.js b/functions/isprime.js index 67263a0..b43e5bc 100644 --- a/functions/isprime.js +++ b/functions/isprime.js @@ -7,7 +7,7 @@ module.exports = { var upper = Math.sqrt(num); var sieve = new Array(num) .join(',').split(',') // get values for map to work - .map(function(){ return true }); + .map(function(){ return "Prime" }); for (var i = 2; i <= num; i++) { if (sieve[i]) {