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