Update isprime.js
This commit is contained in:
parent
e7fa428112
commit
5c325a5a53
@ -1,6 +1,5 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
handler: (event, context) => {
|
handler: (event, context) => {
|
||||||
console.log(event);
|
|
||||||
num=event.data;
|
num=event.data;
|
||||||
if (num == 1) return "Not Prime";
|
if (num == 1) return "Not Prime";
|
||||||
num += 2;
|
num += 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user