結果 : check if string is empty or undefined javascript