Javascript and Creating Web Page Set 10


Which method joins all array element into string with specified separator?
  
    (A) Join()
    (B) Pop()
    (C) Push()
    (D) To string()

Join()

Which method removes the last elements from an array?
  
    (A) Join()
    (B) Push()
    (C) Pop()
    (D) Shift()

Pop()

Which method is used to add new element to an array?
  
    (A) Join()
    (B) Push()
    (C) Pop()
    (D) Shift()

Push()

Which method removes the first array element?
  

    (A) Join()
    (B) Pop()
    (C) Push()
    (D) Shift()

Shift()

Which variable works as function argument in java script?
  
    (A) Function variable
    (B) Global variable
    (C) Local variable
    (D) Object variable

Local variable