Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEndedGroup/Field2
/ scopeDepth
Function
scopeDepth
lib/web/tern/tern.js:418–421 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
416
}
417
418
function
scopeDepth(s) {
419
for
(
var
i = 0; s; ++i, s = s.prev) {}
420
return
i;
421
}
422
423
function
ternError(msg) {
424
var
err =
new
Error(msg);
Callers
1
resolveFile
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected