Re: Detecting the "type" of a DOM object

Bjoern Hoehrmann:
> Would you prefer such a method over having a proper `instanceof`-like
> operator on the language level that does not have the problem you cite?

I think that would actually be the ideal solution, although not 
something we could solve over here.  `if (n is Node) ...` reads pretty 
nicely.

Received on Thursday, 21 June 2012 04:29:47 UTC