Blame view

public/assets/libs/moment/src/lib/utils/defaults.js 203 Bytes
2db47680   hexiaodong   chore: 初始提交 php 遗...
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;
  }