(units, value)
| 1985 | // MOMENTS |
| 1986 | |
| 1987 | function getSet (units, value) { |
| 1988 | var unit; |
| 1989 | if (typeof units === 'object') { |
| 1990 | for (unit in units) { |
| 1991 | this.set(unit, units[unit]); |
| 1992 | } |
| 1993 | } else { |
| 1994 | units = normalizeUnits(units); |
| 1995 | if (typeof this[units] === 'function') { |
| 1996 | return this[units](value); |
| 1997 | } |
| 1998 | } |
| 1999 | return this; |
| 2000 | } |
| 2001 | |
| 2002 | function zeroFill(number, targetLength, forceSign) { |
| 2003 | var absNumber = '' + Math.abs(number), |
nothing calls this directly
no test coverage detected