Reputation: 223
I want to know when obj !== obj
can be true?
This is what I saw a line of code in the book, I was very puzzled.
var result = class2type[(obj == null || obj !== obj)] ? obj : toString.call(obj) ] || obj.nodeName || "#";
Upvotes: 5
Views: 71