Does anyone know, why jquery behaves like this:
var $test = $(window).add(document).add("body");
$test.is(window) -> false
$test.is(document) -> true
$test.is("body") -> true
How do I find out whether a jquery-object contains the window via "is"?