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

Function foo

w3/d1/debugger.js:53–57  ·  view source on GitHub ↗
(word)

Source from the content-addressed store, hash-verified

51
52// ! Comment out console.log or step into will step into console.log
53function foo(word) { // define function foo that accepts param word
54 debugger; // trigger debugger, jumps to next function call
55 console.log(word); // console.log the value stored in word param
56 bar("barber"); // invoke bar function with string "barber"
57}
58
59function bar(word) { // define function bar that accepts param word
60 debugger; // trigger debugger

Callers 1

debugger.jsFile · 0.70

Calls 1

barFunction · 0.70

Tested by

no test coverage detected