Skip to content

Conversation

craigayre
Copy link
Contributor

If object (hasmap) doesn't have key specified undefined is returned, not null.

Check if object hasOwnProperty of the number, not array of number:
array[i] instead of [array[i]]

@kennymkchan
Copy link
Owner

😄 🚢 Thanks for the hardwork!

@kennymkchan kennymkchan merged commit 7b38013 into kennymkchan:master Feb 18, 2017
@craigayre
Copy link
Contributor Author

No problem, thanks for merging both PRs in.

There'll be a bunch more coming up, just keeping them atomic for now 😅

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.

2 participants