Wednesday, 26 April 2017

SyntaxError: Unexpected token r in JSON at position 38

I was unexpected token r in JSON at position 38 for this code.

var object = JSON.parse('{"isFaceboook" : true,"redirectUrl" : redUrl,"facebookId" : id}');

redUrl and id are initialized and they are strings...



via Kamalnrf

No comments:

Post a Comment