SnipBits

How to check if an object is empty in JavaScript

September 27, 2020 β€” Javascript β€” 1 Min Read

The javascript Objects are compared by reference, that's why we cannot do a comparaison like this The Solution is to pass the built-in…