Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/basarat/typescript-book
/ closure.ts
File
closure.ts
code/javascript/closure.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
function
outerFunction(arg) {
2
var
variableInOuterFunction = arg;
3
4
function
bar() {
Callers
nothing calls this directly
Calls
5
on
Method · 0.80
outerFunction
Function · 0.70
createCounter
Function · 0.70
send
Method · 0.65
log
Method · 0.45
Tested by
no test coverage detected