Skip to main content

Prepend zeroes

addZero = function(num) {
    return ('0' + num).slice(-2);
}