結果 : check if empty string javascript