CIW JavaScript Specialist - 1D0-735 Exam Practice Test

Consider the following code:

What will be displayed for the computer inventory after the Update Inventory button is clicked twice?
Correct Answer: A Vote an answer
Derrick is building a Web form to collect user data for a retail Web site. He will be collecting the users name e-mail address phone number, physical address and credit card information. What should he do to protect his users, when collecting this data?
Correct Answer: D Vote an answer
Consider the following code:

What is the result if this code is run in a browser?
Correct Answer: D Vote an answer
Consider the following code:

What text will display in the alert dialog box?
Correct Answer: C Vote an answer
Laurie has been instructed to add code to a Web page to display the date and time when the document was last updated Which code should she use?
Correct Answer: A Vote an answer
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)
Correct Answer: C Vote an answer