File size: 220 Bytes
5641073
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
'use strict';

var callBound = require('call-bind/callBound');

var $strSlice = callBound('String.prototype.slice');

module.exports = function padTimeComponent(c, count) {
	return $strSlice('00' + c, -(count || 2));
};