Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ pad
Function
pad
static/word2md/mammoth.browser.js:30020–30022 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
30018
30019
30020
function
pad(n) {
30021
return
n < 10 ?
'0'
+ n.toString(10) : n.toString(10);
30022
}
30023
30024
30025
var
months = [
'Jan'
,
'Feb'
,
'Mar'
,
'Apr'
,
'May'
,
'Jun'
,
'Jul'
,
'Aug'
,
'Sep'
,
Callers
1
timestamp
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected