Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coolvasanth/reactjs_interview_preparation
/ greet
Function
greet
src/Playground.js:17–20 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
15
16
"use strict"
;
17
function
greet(name) {
18
age = 30;
// Assigning to an undeclared variable
19
console.log(
"Hello, "
+ name +
"! You are "
+ age +
" years old."
);
20
}
21
22
greet(
"Alice"
);
Callers
1
Playground.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected