結果 : javascript check if string is defined and not empty