Why Is {} > []?
TLDR version Relational Comparisons In JavaScript, the result of a relational comparison is determined by the Abstract Relational Comparison algorithm. The algorithm converts both sides of a comparison to primitive values and then returns the result...
Nov 24, 20207 min read3.0K
![Why Is {} > []?](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1606251004358%2FbeKeHTCla.png&w=3840&q=75)