实例. 获取数组中第一个值为18 或更大的元素的值: var ages = [3, 10, 18, 20]; function checkAdult(age) { return age >= 18; } function myFunction() { document.
確定! 回上一頁