Write a JavaScript function to get the first element of an array. Passing a parameter 'n' will return the first 'n' elements of the array.
確定! 回上一頁