MCPcopy Create free account
hub / github.com/appacademy/Module-1-Resources / myFunc

Function myFunc

w1/d2/scratch.js:8–17  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

6// console.log('hello ' + 'johnny');
7
8function myFunc(name){
9 // console.log(`hello ${name}`);
10 name = name.toUpperCase();
11 // return `hello ${name}`
12 // console.log('do we reach this console.log?');
13 for(let i = 0; i < 4; i++){
14 console.log(i);
15 return 'done'
16 }
17};
18
19// want to see output
20// wrap the function call in a console.log

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected