审查视图

public/assets/libs/moment/src/lib/utils/defaults.js 203 字节
景龙 authored
1 2 3 4 5 6 7 8 9 10
// Pick the first defined of two or three arguments.
export default function defaults(a, b, c) {
    if (a != null) {
        return a;
    }
    if (b != null) {
        return b;
    }
    return c;
}