Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SimHacker/micropolis
/ f
Function
f
turbogears/micropolis/htdocs/static/javascript/json2.js:166–169 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
164
(
function
() {
165
166
function
f(n) {
167
// Format integers to have at least two digits.
168
return
n < 10 ?
'0'
+ n : n;
169
}
170
171
if
(typeof Date.prototype.toJSON !==
'function'
) {
172
Callers
1
json2.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected