What is the output of the above code?
Anonymous Quiz
15%
A) undefined
43%
B) βdefaultβ
32%
C) null
11%
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();