How to count length of object keys es6

To check the length of object (obj) keys

const result = Object.keys(obj).length

Comments

Popular posts from this blog

world tourism guide Template

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