console.log(array.find(elem => elem % 2 === 0)) //คืนค่า Element ที่เป็นเลขคู่เฉพาะตัวแรกที่ค้นพบใน array เท่านั้น. 5. console.log(array.
確定! 回上一頁