'use strict';

Object.defineProperty(exports, "__esModule", {
    value: true
});
exports.range = range;
exports.zeroComplete = zeroComplete;
function range(num, min, max) {
    return Math.min(Math.max(num, min), max);
}

function zeroComplete(n) {
    n = parseInt(n);
    return n < 10 ? '0' + n : '' + n;
}