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?
alert(({ valueOf:function() { return 2; } }) == 2);
1.
Error in the code.
2.
false
3.
true