MCPcopy Create free account
hub / github.com/CodeWithHarry/Sigma-Web-Dev-Course / callback

Function callback

Video 75/script.js:19–22  ·  view source on GitHub ↗
(arg, fn)

Source from the content-addressed store, hash-verified

17}
18
19const callback = (arg, fn) => {
20 console.log(arg)
21 fn()
22}
23
24const loadScript = (src, callback) => {
25 let sc = document.createElement("script");

Callers 1

loadScriptFunction · 0.85

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected