简单问题

来源:互联网 发布:nginx tengine2.2 编辑:程序博客网 时间:2024/05/16 18:54

JavaScript求不大于且最接近于一个整数的偶数:
function f(n){
    return n & -2;
}