JavaScript
#1 part 1
Assign jsonData with a JSON object with properties: userName (a string), age (a number) and studentSiblings (an array of strings). Note: The content of the properties doesn't matter.
var jsonData;
/* Your solution goes here */
-----------------------------------------------------------------------------------------------------------
#1 part 2
Store a new XMLHttpRequest object in the xhr variable, then assign xhrHandler function as the "error" event listener.
function xhrHandler() {
console.log("handling response: " + this.responseText);
}
/* Your solution goes here */
------------------------------------------------------------------------------------------------
#1 part 3