Use typeof value "undefined" instead of !value…