Good explanation.
But triple equals mainly checks the equality between objects like left side and right side both are referring to the same object or not.
For example,
vara={}varb={}console.log(a===b)//False
Above code will return FALSE because both variable not referring to same object. Let's consider another example.
vara={}varb=aconsole.log(a===b)// True
The above code will return TRUE because both left and right side referring to same object.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Good explanation.
But triple equals mainly checks the equality between objects like left side and right side both are referring to the same object or not.
For example,
Above code will return FALSE because both variable not referring to same object. Let's consider another example.
The above code will return TRUE because both left and right side referring to same object.