the whole null/undefined/unset thing really is not very well done in JS, imo