Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is(undefined); // 'null' #13

Closed
Lalem001 opened this issue Oct 5, 2017 · 1 comment
Closed

is(undefined); // 'null' #13

Lalem001 opened this issue Oct 5, 2017 · 1 comment

Comments

@Lalem001
Copy link

Lalem001 commented Oct 5, 2017

is/index.js

Lines 10 to 12 in 27d15f4

if (value == null) { // eslint-disable-line no-eq-null, eqeqeq
return 'null';
}

Should it not be ===?

@sindresorhus
Copy link
Owner

You're absolutely right. Thanks for noticing. Such a silly mistake :)

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

No branches or pull requests

2 participants