indexOf(1)); console.log(nums.lastIndexOf(1));. We use the indexing operations to get and modify array values and get the index of an element.
確定! 回上一頁