What is difference == and === in javascript?



What is difference == and === in javascript?..

Answer / Ashutosh Kumar Jatav

In JavaScript, the `==` operator performs type coercion, which means it converts both operands to a common type before comparing them. On the other hand, the `===` operator compares the operands without any type coercion.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

What and where are the best javascript resources on the web?

1 Answers  


Why is javascript dangerous?

1 Answers  


What is spread syntax?

1 Answers  


Explain with an example the use of event handlers in javascript.

1 Answers  


what is java?

2 Answers  


Will javascript be replaced?

1 Answers  


What is a null variable in javascript?

1 Answers  


What does the operator do in javascript?

1 Answers  


What is difference between api and library?

1 Answers  


What is undefined x 1 in JavaScript?

1 Answers  


What is are the types of the pop up box es available in javascript?

1 Answers  


what is the difference between wrappers and primitives es: diff between int i=200 in primitives and integeri = new integer(54)

1 Answers  


Categories