Skip to content

Conversation

Lchemist
Copy link

isPlainObject(Object.create(null)) is supposed to be true

Copy link

@windusayles windusayles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is correct, creating an object from null creates an element with typeof object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants