Skip to content

Conversation

dlxeon
Copy link

@dlxeon dlxeon commented Feb 19, 2020

count is undefined in that context. It is still converted to 0 by browser, but in case of this source code is passed through ES lint or typescript compilation that ends up with error.

@lemire
Copy link
Owner

lemire commented Feb 19, 2020

Good catch.

@lemire lemire merged commit 29e2919 into lemire:master Feb 19, 2020
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