MCPcopy Create free account
hub / github.com/coderarmy-notes/mern-stack-course / double

Function double

03JS/Day11/index.js:146–152  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

144
145
146function double(value){
147
148 return function execute(num){
149 return num*value;
150 }
151
152}
153
154const n = double(20)(5);
155console.log(n);

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected