functions/index.js
//function to place zero infront of a single digit number
function to place zero infront of a single digit number
function to place zero infront of a single digit number
function toDoubleDigit(number) {
	if (number < 10) {
		return "0" + number;
	}
	return String(number);
}
function toDoubleDigit ( number ) { if ( number < 10 ) { return "0" + number ; } return String ( number ) ; }
function to place zero infront of a single digit number
function to place zero infront of a single digit number