is-plain-object
is-plain-object copied to clipboard
Still pass if constructor key is a primitive
I added a test. If the constructor is a primitive, then this should still be considered a plain object because it isn't being created with a constructor.
This fixes (or implements depending on whether you consider this a feature or a bug :) ): https://github.com/jonschlinkert/is-plain-object/issues/26