Check if an object has no properties of its own (its shape is {}). An empty array is considered a bare object.
{}
Object to check
Check if an object has no properties of its own (its shape is
{}
). An empty array is considered a bare object.