Update isprime.js

This commit is contained in:
Torma Kristóf 2019-04-26 15:37:34 +02:00 committed by GitHub
parent e7fa428112
commit 5c325a5a53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;