Expert Developer JavaScript Question:
Download Questions PDF

Explain the difference between "==" and "==="?

Expert JavaScript Developer Interview Question
Expert JavaScript Developer Interview Question

Answer:

"==" checks only for equality in value whereas "===" is a stricter equality test and returns false if either the value or the type of the two variables are different.

Download Expert JavaScript Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain how to read and write a file using JavaScript?What are JavaScript Cookies?