| Defination of === in different value reference or strings types
Below is the different defination of === in value reference and strings types
(1)For value types (numbers):
a === b returns true if a and b have the same value and are of the same type
(2)For reference types:
a === b returns true if a and b reference the exact same object
(3)For strings:
a === b returns true if a and b are both strings and contain the exact same characters | | |