For the code fragment below function foo() { var httpRequest = new XMLHttpRequest(); httpRequest.open('GET', "/echo/json"); httpRequest.send(); return httpRequest.responseText; } var result = foo(); What will be the value of ‘result’
Correct Answer: Undefined
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Ajax MCQ Questions