📜  every() 方法 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:56.005000             🧑  作者: Mango

代码示例1
let numbers = [1, 3, 5];
let result = numbers.every(function (e) {
    return e > 0;
});

console.log(result);
Code language: JavaScript (javascript)