列表

详情


FED70. 或运算

描述

返回参数 a 和 b 的逻辑或运算结果

示例1

输入:

false, true

输出:

true

原站题解

HTML/CSS/JavaScript 解法, 执行用时: 867ms, 内存消耗: 77840KB, 提交时间: 2020-12-08

{"css":"","js":"function or(a, b) {\n    return a||b;\n}","html":"","libs":[]}

HTML/CSS/JavaScript 解法, 执行用时: 869ms, 内存消耗: 77832KB, 提交时间: 2020-12-27

{"css":"","js":"function or(a, b) {\n    return a || b\n}","html":"","libs":[]}

HTML/CSS/JavaScript 解法, 执行用时: 870ms, 内存消耗: 77868KB, 提交时间: 2020-12-25

{"css":"","js":"function or(a, b) {\n    return a || b\n}","html":"","libs":[]}

HTML/CSS/JavaScript 解法, 执行用时: 870ms, 内存消耗: 77868KB, 提交时间: 2020-12-20

{"css":"","js":"function or(a, b) {\n    return a ||b;\n}","html":"","libs":[]}

HTML/CSS/JavaScript 解法, 执行用时: 871ms, 内存消耗: 77848KB, 提交时间: 2020-12-24

{"css":"","js":"function or(a, b) {\n    return a|| b\n}","html":"","libs":[]}

上一题