結果 : check null or empty string javascript