title: Mongodb empty object Object.keys(myObj).length return wrong values
body: <p>I have an object inside collection called &quot;childLimit&quot;.
  Schema:
  <code>user: { name: {type: String}, childLimit: {dailyLimit: {type: Number}  }</code></p>
  <p>Now if I haven't inset any info in this object (childLimit) while creating user so it should not be there as mongo work, that fine. but when I console this it return {} empty object which is fine.
  But when I console.log(Object.values(childLimit)) it console [ true, undefined, undefined, undefined ] which is strange????
  Object.keys(childLimit).length return 2 but it should be 0??</p>
  <p>Now how can I check if the object is empty?? OR if the object exist??</p>