結果 : check if string is undefined or empty javascript