chriswu000/jquery — comment on commit 66920cfeb2c488eb377b1ce4e1246dcd44c5359f
File:  line 0
By nicholasbs:

Would it be enough to avoid calling `toString` if `value` is a DOM element? E.g.,

```
else if ( jQuery.isFunction( value.toString ) && value.nodeType === undefined )
```

Checking just for `nodeType` seems a bit weak though. Is there an idiomatic and/or better way that jQuery code checks for this?