Java
T
point
Home
Python
Java
JavaScript
HTML
SQL
PHP
C#
C++
DS
Aptitude
Reasoning
Selenium
DBMS
C
Android
Interview Q
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
Question 1
:
function() {
if(true) {
var a = 5;
}
alert(a);
}
what would be the value alerted by this function?
1.
0
2.
5
3.
null
4.
undefined