Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/marijnh/Eloquent-JavaScript
/ eltSize
Function
eltSize
src/client/sandbox.mjs:502–504 ·
view source on GitHub ↗
(elt)
Source
from the content-addressed store, hash-verified
500
}
501
502
function
eltSize(elt) {
503
return
elt.textContent.length
504
}
505
506
function
represent(val, space) {
507
if
(typeof val ==
"boolean"
)
return
span(
"bool"
, String(val))
Callers
2
representArray
Function · 0.85
representSimpleObj
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected