From my understanding: -primitive types tests for equality
'lol' === 'lol'
true
True because content is the same or true because object ID's in memory are the same?
-Composite types tests for identity
[1,2,3] === [1,2,3]
false
False because reference vars are diff or diff because object ID's in memory are diff?
I want to be able to differentiate between:
A) The reference variable
B) The identifier (namespace)
C) The actual object in memory
D) The ID
Are there commands that allow me to test for these things individually?