Es6 how to check object is empty

 How to check object is empty? 

const myObj = {};

const result = Object.keys(myObj).length === 0); and

Comments

Popular posts from this blog

How to Remove Duplicates from Array in Javascript ES6

Es6 how to check if value is not null or undefined?