What is the output of the above code?
Anonymous Quiz
15%
A) undefined
44%
B) โdefaultโ
31%
C) null
10%
D) ReferenceError
Forwarded from แจแ /แ /แณ/แด/แฉ แแข แแฃแค (Surafel Fasil)
Please open Telegram to view this post
VIEW IN TELEGRAM
for-coder
Kesgdet behuala ๐ง๐โโ๏ธ Back to coding ๐จโ๐ป
How was sigdet tho
function outer() {
let x = 10;
function inner() {
console.log(x);
}
x = 20;
return inner;
}
const fn = outer();
fn();
What is the output of the above code ?
Sauce after the Sigdet
Sauce after the Sigdet
Anonymous Poll
36%
10
11%
undefined
32%
20
7%
syntax error
14%
reffernce error
๐ท แญแญแตแถแต แฐแแฅแ แฅแแณแ โ๏ธ
แ แแขแญ แแญแ แแฅแแฃแ
๐ท แ แฐแฎ แแฐแญแฃแ
แ แแแ แแ แณแ
๐ท แฐแแ
แฅแแญแแแฐ
๐ท แฎแ โจ
แแตแ แแฐแแ โค๏ธโ๐ฅโ๏ธ
Melkam Ye Fasika Beal Yihunlachu
Have a blessed holiday ๐โจ
แ แแขแญ แแญแ แแฅแแฃแ
๐ท แ แฐแฎ แแฐแญแฃแ
แ แแแ แแ แณแ
๐ท แฐแแ
แฅแแญแแแฐ
๐ท แฎแ โจ
แแตแ แแฐแแ โค๏ธโ๐ฅโ๏ธ
Melkam Ye Fasika Beal Yihunlachu
Have a blessed holiday ๐โจ