isEmptyObject method Can't contain no enumeration!
beginnerJq opened this issue · 0 comments
beginnerJq commented
like this!
const isEmptyObject = object => { if (Object.getOwnPropertySymbols(object).length) { return false } if (Object.getOwnPropertyNames(object).length) { return false } return true }