javascript - Number value is getting changed in JS -
this question has answer here:
this post id:
var postid = 47213486358396931; var postcomments = "comment"; adding in object
var param = { "postid" : postid, "postcomment":postcomments } if print param this. last digit of number changed 0. why getting this.
{"postid" : 47213486358396930, "postcomment": "comment"}
Comments
Post a Comment