loading...

Discussion on: Do you really know JS?

Collapse
clementdeb profile image
clementDeb

hello, thanks for the question, could you explain why the 5 is false, false ? please

Collapse
jdmg94 profile image
José Muñoz

because you're comparing references, not their values.

SO Thread: stackoverflow.com/questions/110327...

Collapse
clementdeb profile image
clementDeb

because they are regex which means object. cheers