70-480日本語 無料問題集「Microsoft Programming in HTML5 with JavaScript and CSS3 (70-480日本語版)」



正解:

Explanation

Example: throw new Error(200, "x equals zero");
Reference: throw Statement (JavaScript)






正解:

Explanation
Target 1:
Var newOption = document.createElement ("option") ;
Target 2:
Option.appendChild (newOption.text) ;



正解:

Explanation

* Example:
httpRequest.onreadystatechange = function() {
// inline function to check the status
// of our request
// this is called on every state change
if (httpRequest.readyState === 4 &&
httpRequest.status === 200) {
callback.call(httpRequest.responseXML);
// call the callback function
}
};
// call the function
some_function2("text.xml", function() {
console.log(this);
});
Reference: understand callback functions in Javascript