Fortunately, JavaScript has a function called unshift() that push the elements at the front of the array. The shift method can be used to push.
確定! 回上一頁