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 🙏✨