Skip to content

Instantly share code, notes, and snippets.

@tomarpremveer
Last active December 28, 2020 06:15
Show Gist options
  • Save tomarpremveer/e38ebba9be11f474a09fff6c133957d8 to your computer and use it in GitHub Desktop.
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.
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