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
:
What will be the output of the following code?
var a = (function a()
{
return ?1′;
},
function b()
{
return 2;
}
)();
alert(typeof a);
1.
function
2.
string
3.
number
4.
Error in the code