1. Question: Netscape Nvigator 4 introduced array five method they are-

    A
    Array.pop(),Array.push(),Array.shift(),Array.unshift(),Array.splice(),

    B
    Array.input(),Array.output(),Array.read(),Array.write(),Array.insert(),

    C
    Array.forward(),Array.backward(),Array.find(),Array.last(),Array.search(),

    D
    Array.first(),Array.last(),Array.realese(),Array.arrest(),Array.non(),

    Note: Not available
    1. Report
  2. Question: The single array property length return the number of ---- in an array.

    A
    Value

    B
    Element

    C
    Value name

    D
    Total

    Note: Not available
    1. Report
  3. Question: What is output comes out?
    var stackWork=new Array(“Lenny”,Harild”,”Mary”,”Jenny”,”Sal”);
    stackWork.pop(“Delia”);

    A
    Lenny,Harold,Mary,Jean

    B
    Jean,Sal

    C
    Sal

    D
    Sal,Jean,Mary,Harild,Lenny

    Note: Not available
    1. Report
  4. Question: 
    var stackWork=new Array(“Lenny”,Harild”,”Mary”,”Jenny”,”Sal”);
    stackWork.shift();
    What is output comes out?

    A
    Lenny

    B
    Sal

    C
    Sal, Lenny

    D
    Lenny, Sal

    Note: Not available
    1. Report
  5. Question: 
    var stackWork=new Array(“Lenny”,Harild”,”Mary”,”Jenny”,”Sal”);
    stackWork.unshift(“Willie”);
    what is output comes out?

    A
    Sal

    B
    Willie, Lenny, Harold, Mary, Jean, Sal

    C
    Willie

    D
    Lenny

    Note: Not available
    1. Report
  6. Question: 
    var Lit=[“yes”,”no”,”maybe”];
    document.write(Lit[2]);
    Above condition what is come out?

    A
    maybe

    B
    yes

    C
    no

    D
    Undefined

    Note: Not available
    1. Report
  7. Question: window is a built-in object.

    A
    True

    B
    False

    Note: Not available
    1. Report
  8. Question: setTimeout() is a built-in function of window object?

    A
    False

    B
    True

    Note: Not available
    1. Report
  9. Question: What is the output for the following code?
    let x=0/0;
    let y=0/4;
    let z=2/0;
    document.write(x+","+y+","+z);

    A
    infinity,0,infinity

    B
    NaN,infinity,infinity

    C
    NaN,0,infinity

    D
    0,0,0

    Note: Not available
    1. Report
  10. Question: What will be the output of the following code?
    var total=new Function("item","tax","return item+=tax");
    document.write("Your bill is $"+total(14.43,06))

    A
    Syntax Error

    B
    $20.43

    C
    No output

    D
    14.4306

    Note: This is function follows function constructor syntax: var variable=new Function("arg1","arg2","retrun expression")
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd