Skip to content

Conversation

@unional
Copy link
Contributor

Objects.keys() does not take null or undefined

>Object.keys(undefined) TypeError: Cannotconvertundefinedornulltoobject>Object.keys(null) TypeError: Cannotconvertundefinedornulltoobject

[x] You've signed the CLA
[x] There are new or updated unit tests validating the change

@houfio
Copy link

What about object?

@unional
Copy link
ContributorAuthor

What about object?

object doesn't work with true and false

@ikatyang
Copy link
Contributor

Related issue #17273

@rbucktonrbuckton requested a review from sandersnAugust 9, 2017 20:48
@rbuckton
Copy link
Contributor

I think this looks like a good change, but would like to get some additional input. @sandersn, do you see any issues with this change?

@sandersn
Copy link
Member

Looks good to me.

@sandersnsandersn merged commit 445cc8d into microsoft:masterAug 9, 2017
@microsoftmicrosoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@unional@houfio@ikatyang@rbuckton@sandersn@msftclas