How to Check if Object is Empty in JavaScript
Defining a new object in Javascript is pretty easy - but what if you want to find out if it's empty? For example, {} is an empty object, but how do we actually test that this is the case?
let myObject = {}
The easiest (and best) way to do this, is t...
fjolt.hashnode.dev1 min read