PrepAway - Latest Free Exam Questions & Answers

Category: 1D0-435

Exam 1D0-435: JavaScript Fundamentals exam

Which one of the following choices shows how Sven should rewrite this line of code so that no errors result wh

Sven wants to open a new window with JavaScript, be he repeatedly receives an error message.
He reviews his code, as shown:
open (“http://www.prolific.com”, “Pro Window” , “toolbar = 1 ,location = 1 ,menubar = 1 ,
scrollbars = 1 ,status = 1 ,resizable = 1″);
Which one of the following choices shows how Sven should rewrite this line of code so that no
errors result when it is executed?

Which of the following choices shows how Sasha should rewrite the code to make the script execute properly?

Sasha needs to display quotation marks for a greeting on the corporate Web page. She adds the
quotation marks to the JavaScript as follows:
var questions = new Array(2)
questions[0] = “What is the capital of the USA?”;
questions[1] = “Who is the company “President”?”;
questions[2] = “Who is the company “Vice-President”?”;
When Sasha runs the code, however, the quotation marks do not appear around the words
“President” and “Vice-President”

Which of the following choices shows how Sasha should rewrite the code to make the script
execute properly?


Page 17 of 24« First...10...1516171819...Last »