Skip to content

Fix incorrect usage example#25

Open
Lchemist wants to merge 1 commit intojonschlinkert:masterfrom
Lchemist:master
Open

Fix incorrect usage example#25
Lchemist wants to merge 1 commit intojonschlinkert:masterfrom
Lchemist:master

Conversation

@Lchemist
Copy link
Copy Markdown

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

Copy link
Copy Markdown

@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