Tests for whether the given value is a plain object.
An object is plain if it is created by either: {}, new Object() or Object.create(null).
{}
new Object()
Object.create(null)
Any value
Is it a plain object.
Tests for whether the given value is a plain object.
An object is plain if it is created by either:
{}
,new Object()
orObject.create(null)
.