I think your opinion is right in current DOM.

But jQuery's `val()` might return `null`(http://api.jquery.com/val/).
So it is good practice to add null guard for future extension.