JavaScript - Programming Language (MCQ) questions for Q. 27541

Q.  The _______ method of an Array object adds and/or removes elements from an array.
- Published on 26 Feb 17

a. Reverse
b. Shift
c. Slice
d. Splice

ANSWER: Splice

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)