結果 : javascript check defined and not null