___________ inserts a new item at the beginning of the array

Q & ACategory: JavaScript___________ inserts a new item at the beginning of the array
Admin Staff asked 3 years ago

___________ inserts a new item at the beginning of the array.
Choose the correct option from below list
(a)shift()
(b)push( value )
(c)unshift( value )
(d)splice()

1 Answers
Admin Staff answered 3 years ago

(c)unshift( value )