code: function(digits, n) {
  		n = n.toString();
  		while(n.length < digits)
  		n = '0' + n;
  		return n;
  	}
docs: pads n with zeros on the left, digits is minimum length of output zeroPad(3, 5); returns "005" zeroPad(2, 500); returns "500"