最新的CIW JavaScript Specialist - 1D0-635免費考試真題
Consider the following code: var myString= "Hello World"; alert(myString.length); What is the output when you run this script in the browser?
正確答案: D
Which of the following demonstrate the correct syntax for the switch statement?
正確答案: C
Consider the following code:

What is the appropriate parameter for the alert() method in line 5 to reference the text in the firstName text box?

What is the appropriate parameter for the alert() method in line 5 to reference the text in the firstName text box?
正確答案: D
Consider the following code fragment, which sets up the retrieval of an XML document named fish.xml and calls a function named showFish(): var xmlhttp = new XMLHttpRequest(); xmlhttp.open("GET", "fish.xml", true); xmlhttp.onreadystatechange = showFish(); xmlhttp.send(); Which line of code initializes the XMLHttpRequest object?
正確答案: C
Which of the following is a valid variable name in JavaScript?
正確答案: D
Assuming the function <body onload="DisplayName()"> is called, which script block will display Hello Joe in the document window after you enter the name Joe?
正確答案: C