JavaScript-Fundamentals-(1D0-435).pdf - CIW 1D0-435 JavaScript Fundamentals http\/killexams.com\/exam-detail\/1D0-435 QUESTION 230 Wilhelm is writing a

JavaScript-Fundamentals-(1D0-435).pdf - CIW 1D0-435...

This preview shows page 1 - 4 out of 8 pages.

1D0-435CIWJavaScript Fundamentals
Background image
QUESTION: 230 Wilhelm is writing a constructor in JavaScript. He uses the word "this" when referring to the properties and methods in his object parameters and functions. Why? A. The "this" keyword is used to represent the object as the properties and methods are defined. B. Wilhelm's schema is not finalized yet, so he uses "this" as an empty placeholder in the code until the schema is set. C. The word "this" has no significance outside of Wilhelm's script ?he chose this nomenclature randomly. D. Wilhelm can reuse the object by substituting the word "this" for the real values, using a function to insert the real names. Answer: A QUESTION: 231 Which property of the location object specifies whether HTTP or FTP is being used?A. host B. hash C. protocol D. href Answer: C QUESTION: 232 Nadir wants to add JavaScript to the company Web site. He wants to reference the value that is entered into the following form field: <FORM NAME="hrsForm"> <INPUT TYPE="text" NAME="myName"> </FORM> Which line of JavaScript code should Nadir use to refer to the value in the form field? A. document.hrsForm.myName.value; B. document.hrsForm[0]. myName [0].value; C. document.form[0].element[0].value; D. document.hrs[0].myName [0].value; 72
Background image
Answer: A QUESTION: 233 Nadir wants to be able to send the user to a previous page in the history list. Nadir's site
Background image
Image of page 4

You've reached the end of your free preview.

Want to read all 8 pages?

  • Fall '16
  • Mohammad Alizadeh
  • Internet Explorer

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture