Content-Length: 256384 | pFad | http://github.com/lgope/JavaScript/commit/894aec530cbc01ca91c3cf7c2d2977a0473275be

0D Create func.js · lgope/JavaScript@894aec5 · GitHub
Skip to content

Commit 894aec5

Browse files
authored
Create func.js
1 parent 5cb9b01 commit 894aec5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Interview-Questions/func.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// what is output?
2+
const foo = () => {
3+
let a = b = 10;
4+
a++;
5+
return a
6+
}
7+
8+
foo();
9+
10+
console.log(a);
11+
console.log(b);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/lgope/JavaScript/commit/894aec530cbc01ca91c3cf7c2d2977a0473275be

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy