CIW JavaScript Specialist - 1D0-735 Exam Practice Test
The same origin policy was introduced at the same time as HTML5 to limit location changes in browser windows that are using frames. Given this policy which of the following would be a valid new location of a frame on the Web site http //www.ClWCertified corn?
A)

B)

C)

D)

A)

B)

C)

D)

Correct Answer: C
What is the best practice for testing code to pinpoint a logic error within a script?
Correct Answer: D
Which of the following comparison statements will return true?
Correct Answer: A
Which of the following is a true statement regarding the relationship between Promises and callback functions?
Correct Answer: A
Which code could be used to send a user to another Web site when they click a button on the Web page?
A)

B)

C)

D)

A)

B)

C)

D)

Correct Answer: C
Jaime needs to write a script to remove all the non-digit characters from a phone number so that all that remains are the numbers She knows that she will need to use a regular expression to search for non-digit characters and can use a method to remove all the non-digit characters. Which code should she use?
A)

B)

C)

D)

A)

B)

C)

D)

Correct Answer: A