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
1
C) is the answer mate
Answered by
0
(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)
╭╼╾╼╾╼╾╼╾╼╾╼╾╼╾╮
┃ ┈┈┈┈ [_Hɪ Mᴀᴛᴇ_] ┈┈┈┈ ┃
╰╼╾╼╾╼╾╼╾╼╾╼╾╼╾╯
╔═══❁═❀═✪═❀═❁════╗
...............Here You Go Ur Answer............
╚═══❁═❀═✪═❀═❁════╝
ıllıllıllıllıllıllı[ Your Answer ]ıllıllıllıllıllıllı
◆━━━◆♤◆━━━◆
☆Correct | ♤ | Option☆
◆━━━◆♤◆━━━◆
[B]
▂▃▅▇█▓▒░[ Hope It Helps You Dear ]░▒▓█▇▅▃▂
╭╼╾╼╾╼╾╼╾╼╾╼╾╼╾╮
┃ ┈┈┈┈ [_Hɪ Mᴀᴛᴇ_] ┈┈┈┈ ┃
╰╼╾╼╾╼╾╼╾╼╾╼╾╼╾╯
╔═══❁═❀═✪═❀═❁════╗
...............Here You Go Ur Answer............
╚═══❁═❀═✪═❀═❁════╝
ıllıllıllıllıllıllı[ Your Answer ]ıllıllıllıllıllıllı
◆━━━◆♤◆━━━◆
☆Correct | ♤ | Option☆
◆━━━◆♤◆━━━◆
[B]
▂▃▅▇█▓▒░[ Hope It Helps You Dear ]░▒▓█▇▅▃▂
Similar questions
Computer Science,
6 months ago
Math,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Chemistry,
1 year ago