Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Document approach to typeof new use cases #14

Closed
2 tasks
emilio-martinez opened this issue Mar 20, 2017 · 1 comment
Closed
2 tasks

Document approach to typeof new use cases #14

emilio-martinez opened this issue Mar 20, 2017 · 1 comment
Assignees
Milestone

Comments

@emilio-martinez
Copy link
Owner

emilio-martinez commented Mar 20, 2017

The following use cases are confusing, and while uncommon, there needs to be an approach towards these decided as documented:

typeof new Boolean(true) === 'object'; 
typeof new Number(1) === 'object'; 
typeof new String('abc') === 'object';
  • Write test cases
  • Write documentation and reasoning behind approach
@emilio-martinez emilio-martinez added this to the 1.0.0 milestone Mar 20, 2017
@emilio-martinez emilio-martinez self-assigned this Mar 20, 2017
@emilio-martinez
Copy link
Owner Author

Closed by 5dbad38.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant