HI There, I have written Node JS code to check prime number but its not working in lamda while same code working fine in Node js console as expected. I am getting error object object. please help me on this.
Hi, Can you share the code snippet that is referencing object Object? I've usually seen that error when people are trying to assign or print a part of JSON which is not actually a value, but an object, so it's toString method will be "[object Object]". Thanks, Nick