Expert Developer JavaScript Question:
Explain the difference between "==" and "==="?
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 Question | Next Question |
Explain how to read and write a file using JavaScript? | What are JavaScript Cookies? |