Expert Developer JavaScript Question:

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.


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