Is it significant to an understanding of variables, memory, of primitive v.s. referential data-types that samely-typed objects can never be considered 'the same' but samely-typed primitives can?
console.log(5 === 5);
console.log({num: 1} === {num: 1});
//I'm aware that:
o = {num: 1}
o2 = o;
console.log(o === o2);//returns true
P.s. Genuine question, am hoping to get a better core understanding of JS as it seems to help so much later on to have this.