結果 : check if variable is not empty string javascript