0 votes
166 views
in Javascript by (2.0k points)
edited

What is the difference between == and ===?

1 Answer

0 votes
by (2.0k points)
selected by
 
Best answer
The == operator checks equality only whereas === checks equality, and data type, i.e., a value must be of the same type.

Related questions

0 votes
1 answer 252 views
0 votes
0 answers 113 views
0 votes
1 answer 109 views
0 votes
1 answer 117 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

561 users

...