$.trim(undefined).length = 0 (false)
!$.trim(undefined).length = 1 (true)