Expert Developer JavaScript Question: Download Expert JavaScript Developer PDF

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

Tweet Share WhatsApp

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 PDF Read All 150 Expert JavaScript Developer Questions
Previous QuestionNext Question
Explain how to read and write a file using JavaScript?What are JavaScript Cookies?