>
> typeof [] => object

 
Taken cared by this 
<https://github.com/chaijs/type-detect/blob/master/lib/type.js#L17> and this 
<https://github.com/chaijs/type-detect/blob/master/lib/type.js#L39>.

typeof null => object

 
Taken cared by this 
<https://github.com/chaijs/type-detect/blob/master/lib/type.js#L40>.

The cases you mentioned is the well-known ones and was all taken cared of 
in the code. But the line 
<https://github.com/chaijs/type-detect/blob/master/lib/type.js#L42> I am 
asking makes no sense at all. Maybe, there's still a special case lurking 
somewhere. Or maybe it's compatibility problem with other JS engines that 
the code run on.
Any advice on where should I ask to get more details answer on this? Should 
I go straight to the Issues section of the repo 
<https://github.com/chaijs/type-detect/issues>? Or should I go to Stack 
Overflow or elsewhere? Because it seems that this kind of question I asked 
isn't getting much interest here. Except you of course, Floby. Many thanks 
for taking the time to answer.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/7bee9abb-b9a4-4f41-a353-581e93df3563%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to