What is the difference between == and ===? How double equals differs from triple equals?
They are both checking the equality. Double equals does not care about data type. Triple equals does care about data types.
We can say that double equls checks equality but triple equals check strong equality.
"0" == 0
"0" === 0
is false because string does not equals to number
" " == 0
" " === 0
Please remember about that writing code. Use triple equals where possible to avoid bugs.