What is the purpose of while(1) in the following JSON response?
while(1);[['u',[['smsSentFlag','false'],['hideInvitations','false'],['remindOnRespondedEventsOnly','true'],['hideInvitations_remindOnRespondedEventsOnly','false_true'],['Calendar ID stripped for privacy','false'],['smsVerifiedFlag','true']]]]
Correct Answer: It makes it difficult for a third-party to insert the JSON response into an HTML document with a <script> tag.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More JavaScript MCQ Questions