1. Question: Which property would you use to redirect visitor to another page? 

    A
    window.location.href

    B
    document.href

    C
    java.redirect.url

    D
    link.redirect.href


    1. Twitter
    2. Details
  2. Question: You work on a JavaScript project. Which of the following correctly describe the relationships of JavaScript and "objects"? 

    A
    JavaScript is Object-oriented

    B
    JavaScript is Object-based

    C
    JavaScript is Object-driven

    D
    JavaScript has no relationship with objects


    1. Twitter
    2. Details
  3. Question: Which is/are JavaScript core object(s)? 

    A
    Math.

    B
    Array.

    C
    Window.

    D
    Document.


    1. Twitter
    2. Details
  4. Question: What is the correct form element referencing? 

    A
    document.form.element

    B
    document.element

    C
    window.element

    D
    window.form.element


    1. Twitter
    2. Details
  5. Question: Which of the following is/are compound data type(s) in javascript? 

    A
    boolean

    B
    number

    C
    string

    D
    null

    E
    undefined

    F
    Array

    G
    Math

    H
    Object


    1. Twitter
    2. Details
  6. Question: What is the output of following JavaScript code?

    <script type="text/javascript">
       var cst = "Web Presence Solutions & Implementation";

       var pattern = new RegExp("Implementation","i");

       document.write(cst.match(pattern));

    </script> 

    A
    null

    B
    Implementation

    C
    none

    D
    error


    1. Twitter
    2. Details
  7. Question: How does Java Script store dates in objects of Date type? 

    A
    The number of days since January 1st, 1900

    B
    The number of seconds since January 1st, 1970

    C
    The number of milliseconds since January 1st, 1970

    D
    The number of picoseconds since January 1st, 1970


    1. Twitter
    2. Details