有谁知道,为什么
jquery的行为如下:
var $test = $(window).add(document).add("body"); $test.is(window) -> false $test.is(document) -> true $test.is("body") -> true
如何通过“is”查明jquery-object是否包含窗口?