Followup r86625: per CR, use loose comparison against null instead of typeof foo...