Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bradtraversy/javascript-sandbox
/ first
Function
first
03-functions-scope/05-nested-scope/script.js:1–12 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
function
first() {
2
const
x = 100;
3
4
function
second() {
5
const
y = 200;
6
console.log(x + y);
7
}
8
9
// console.log(y);
10
11
second();
12
}
13
14
first();
15
Callers
1
script.js
File · 0.70
Calls
1
second
Function · 0.70
Tested by
no test coverage detected