MCPcopy Create free account
hub / github.com/codrops/RainEffect / lz

Function lz

demo/js/main.js:1964–1966  ·  view source on GitHub ↗
(num)

Source from the content-addressed store, hash-verified

1962$def($def.S, 'Date', {now: function(){ return +new Date; }});
1963
1964var lz = function(num){
1965 return num > 9 ? num : '0' + num;
1966};
1967
1968// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
1969// PhantomJS and old webkit had a broken Date implementation.

Callers 1

main.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected