MCPcopy 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";
17function greet(name) {
18 age = 30; // Assigning to an undeclared variable
19 console.log("Hello, " + name + "! You are " + age + " years old.");
20}
21
22greet("Alice");

Callers 1

Playground.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected