1D0-635 Practice Test & Exam Dumps
1D0-635 CIW JavaScript Specialist (page: 2)

Updated On: 16-Aug-2023
case "Peter"
document.write("My name is Peter.<br />")
break
case "Paul"
document.write("My name is Paul.<br />")

break: (default);
document.write("I do not have a name.<br />")
}
B. var myName= "Paul"
switch (myName){
case "Peter"
document.write("My name is Peter.<br />")
break
case "Paul"
document.write("My name is Paul.<br />")

break: (default);
document.write("I do not have a name.<br />")
}
C. var myName= "Paul"
switch (myName){
case (Peter)
document.write("My name is Peter.<br />")
break
case (Paul)
document.write("My name is Paul.<br />")
break;
case: (default);
document.write("I do not have a name.<br />")
}
D. var myName= "Paul"
switch (myName){
case (Peter)
document.write("My name is Peter.<br />")
break
case (Paul)
document.write("My name is Paul.<br />")

break;
case: (default);
document.write("I do not have a name.<br />")
}
Answer(s): A
QUESTION: 4
Consider the following code: <script type="text/javascript"> var v1 = "alpha"; function f () { var v2
= "bravo"; alert (v1 + ", " + v2); } f(); v1="charlie"; alert (v1 + ", " + v2); </script> What is the
expected result when you run this script in the browser?
3
Viewing page 2 of 22
Viewing questions 1 - 4 out of 55 questions


Post your Comments and Discuss CIW 1D0-635 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!