我有点困惑jQuery.isEmptyObject method.
jQuery.isEmptyObject method
$.isEmptyObject([]) - >返回true
$.isEmptyObject([])
但
$('#id-does-not-exist-on-page') => []
$('#id-does-not-exist-on-page')
$.isEmptyObject($('#id-does-not-exist-on-page')) 返回false
$.isEmptyObject($('#id-does-not-exist-on-page'))
为什么?谢谢.
jquery
jquery ×1