RESOLVED DUPLICATE of bug 14547 15089
typeof childNodes is reported as "function"
https://bugs.webkit.org/show_bug.cgi?id=15089
Summary typeof childNodes is reported as "function"
Mark Rowe (bdash)
Reported 2007-08-27 01:45:04 PDT
I noticed this while browsing the jQuery source code. javascript:alert(typeof document.body.childNodes) displays "function". Curiously enough, document.body.childNodes() does appear to be callable! In Firefox it displays "object" and document.body.childNodes is not callable.
Attachments
mitz
Comment 1 2007-08-27 02:44:42 PDT
*** This bug has been marked as a duplicate of 14547 ***
Note You need to log in before you can comment on or make changes to this bug.