why does instanceof relapse fake literals?
"foo" instanceof twine //=> false
"foo" instanceof vigilant //=> false
true instanceof boolean //=> false
true instanceof vigilant //=> false
false instanceof boolean //=> false
false instanceof vigilant //=> false
// tests opposing vigilant unequivocally don't sense
array literals vigilant literals match...
[0,1] instanceof array //=> true
{0:1} instanceof vigilant //=> true
why don't them? or, since don't not?
and, an instance of, then?
it's same ff3, ie7, opera, chrome. so, during slightest it's consistent.
missed few.
12.21 instanceof array //=> false
/foo/ instanceof regexp //=> true
Comments
Post a Comment