Computer Science, asked by harkirat7304, 1 year ago

Consider the following code snippet :
var scope = "global scope"; function checkscope() { var scope = "local scope"; function f() { return scope; } return f;
What is the function of the above code snippet?
A.Returns value null
B.Returns exception
C.Returns the value in scope
D.None of the mentioned

Answers

Answered by pkparmeetkaur
1
C) is the answer mate
Answered by Anonymous
0
<b><font size = "6">(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)
╭╼╾╼╾╼╾╼╾╼╾╼╾╼╾╮
┃ ┈┈┈┈ [_Hɪ Mᴀᴛᴇ_] ┈┈┈┈ ┃
╰╼╾╼╾╼╾╼╾╼╾╼╾╼╾╯


╔═══❁═❀═✪═❀═❁════╗
...............Here You Go Ur Answer............
╚═══❁═❀═✪═❀═❁════╝

ıllıllıllıllıllıllı[ Your Answer ]ıllıllıllıllıllıllı



◆━━━◆♤◆━━━◆
☆Correct | ♤ | Option☆
◆━━━◆♤◆━━━◆

[B] \bf {\underline{}}


<marquee>


▂▃▅▇█▓▒░[ Hope It Helps You Dear ]░▒▓█▇▅▃▂
Similar questions