unshift method in arrays is used insert an element in the beginning of the array. Code. //Name of the file : array-unshift.js arr = [ ...
確定! 回上一頁