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

Function main

Video 79/script.js:10–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8let sum = parseInt(a) + parseInt(b)
9
10function main(){
11 let x = 1;
12 try {
13 console.log("The sum is ", sum * x)
14 return true
15
16 } catch (error) {
17 console.log("Error aa gaya bhai")
18 return false
19 }
20 finally{
21 console.log("files are being closed and db connection is being closed")
22 }
23
24}
25
26let c = main()

Callers 1

script.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected