Last active
December 28, 2020 06:15
-
-
Save tomarpremveer/e38ebba9be11f474a09fff6c133957d8 to your computer and use it in GitHub Desktop.
If type of the datatype of the varibles involved in comparison are equal the double equals and triple equals are equal.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = 1 | |
var b = 1 | |
a == b // true | |
a === b //true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment