We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
typeof true "boolean"
OK
typeof 1 "number"
typeof 'foo' "string"
typeof {} "object"
NOT OK
[].constructor.name "Array"
new Date().constructor.name "Date"
/test/.constructor.name "RegExp"
The text was updated successfully, but these errors were encountered:
Well, but:
({}).constructor.name "Object" ("").constructor.name "String"
Sorry, something went wrong.
For some reason I assumed that plain object does not have .constructor.name.
.constructor.name
@gajus Just noticed that natives should be primitives: https://developer.mozilla.org/en-US/docs/Glossary/Primitive Oopsie!
No branches or pull requests
OK
OK
OK
NOT OK
OK
OK
OK
The text was updated successfully, but these errors were encountered: